check if the string str contains only numbers
str
bool isNumeric(String str) => _numeric.hasMatch(str);