validateState method

bool validateState()

Implementation

bool validateState() {
  return RegExp(r'^([0-9]{2}$)').hasMatch(this);
}