isNumeric property
bool
get
isNumeric
Returns true if the string represents a numeric value.
Implementation
bool get isNumeric => !isNullOrEmpty && num.tryParse(this!) != null;
Returns true if the string represents a numeric value.
bool get isNumeric => !isNullOrEmpty && num.tryParse(this!) != null;