float static method
Check if the value is a floating point number.
Implementation
static String? float(String? value, {String? message}) =>
value == null || value.isEmpty || validations.isFloat(value) ? null : message ?? 'Please enter a valid double';