check if the string value contains only numbers
value
static bool isNumeric(String value) { return _numeric.hasMatch(value); }