isNum method
Checks if the given value is a numeric value (either int or double).
Implementation
bool isNum(value) {
return value is num;
}
Checks if the given value is a numeric value (either int or double).
bool isNum(value) {
return value is num;
}