isDigit method

bool isDigit()

Implementation

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