isNumeric property

bool get isNumeric

Returns true if the string is numeric.

Implementation

bool get isNumeric {
  return double.tryParse(this) != null;
}