isNumeric method
True when it parses as a number. "3.5" → true
Implementation
bool isNumeric() => this != null && double.tryParse(this!) != null;
True when it parses as a number. "3.5" → true
bool isNumeric() => this != null && double.tryParse(this!) != null;