decimal static method
Ensures the string represents a decimal number.
Implementation
static String? Function(String?) decimal({
String errorMessage = 'Please enter a valid decimal number',
}) {
return _build(errorMessage, (v) => v.isDecimal);
}
Ensures the string represents a decimal number.
static String? Function(String?) decimal({
String errorMessage = 'Please enter a valid decimal number',
}) {
return _build(errorMessage, (v) => v.isDecimal);
}