validatePincode method

bool validatePincode()

Implementation

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