isPinCode property

bool get isPinCode

Implementation

bool get isPinCode {
  // if (length > 16 || length < 9) return false;

  if (length != 6) return false;
  return _hasMatch(this, r'^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$');
}