Checks if string consist only numeric. Numeric only doesn't accepting "." which double data type have
static bool isNumericOnly(String s) => hasMatch(s, r'^\d+$');