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