minValue static method

String Function(double?) minValue(
  1. double min, [
  2. String? message
])

Implementation

static String Function(double?) minValue(double min, [String? message]) {
  return (double? value) => (value ?? double.negativeInfinity) < min ? message ?? 'Value must be at least $min' : '';
}