isNumeric function

bool isNumeric(
  1. String str
)

check if the string contains only numbers

Implementation

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