isNumber method

bool isNumber()

Implementation

bool isNumber() {
  final isMatch = RegExp("[1-9]").hasMatch(this);
  return isMatch;
}