isNumeric static method

bool isNumeric(
  1. String value
)

check if the string value contains only numbers

Implementation

static bool isNumeric(String value) {
  return _numeric.hasMatch(value);
}