isDigit method

bool isDigit()

Implementation

bool isDigit() => int.tryParse(this) != null;