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