isNumeric property
bool
get
isNumeric
Checks if the string consists only of ASCII digits (no sign or decimals).
Leading/trailing whitespace is ignored. Use convert_object for parsing.
Implementation
bool get isNumeric => this != null && this!.trim().hasMatch(regexNumeric);