validateLength method Null safety

bool validateLength(
  1. {PhoneNumberType? type}
)

validates a phone number by only checking its length

Implementation

bool validateLength({PhoneNumberType? type}) =>
    Validator.validateWithLength(this, type);