Returns true if str contains only numeric digits (optionally negative).
true
str
bool isNumeric(String str) => numericReg.hasMatch(str);