isFloat function Null safety
- String str
check if the string str
is a float
Implementation
bool isFloat(String str) {
return _regExp.hasMatch(str);
}
check if the string str
is a float
bool isFloat(String str) {
return _regExp.hasMatch(str);
}