isNumeric function
check if the string input
contains only numbers
Implementation
bool isNumeric(String input, {bool no_symbols = false}) {
if (no_symbols) {
return _numericNoSymbols.hasMatch(input);
}
return _numeric.hasMatch(input);
}