1. @override
void add(input)

Source

@override
void add(input) {
  if (input is String) {
    input = num.parse(input, (e) => null);
  }

  if (input is! num) {
    return;
  }

  value = min(value == null ? double.INFINITY : value, input);
}