isValidNumber method

bool isValidNumber()

Implementation

bool isValidNumber() {
  return RegExp("[0-9]").hasMatch(this);
}