BRValidators class
Class that contains methods for validating Brazilian documents.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
validateCEP(
String cep) → bool - Validates a CEP (Postal Code).
-
validateCNH(
String cnh) → bool - Validates a CNH (National Driver's License).
-
validateCNPJ(
String cnpj) → bool - Validates a CNPJ (National Registry of Legal Entities) number.
-
validateCPF(
String cpf) → bool - Validates a CPF (Brazilian Individual Taxpayer Registry) number.
-
validateLandlinePhone(
String landlinePhone) → bool - Validates a landline phone number.
-
validateMobileNumber(
String mobileNumber) → bool - Validates a mobile phone number.
-
validatePISPASEP(
String pisPasep) → bool - Validates a PIS/PASEP (Social Integration Program/Program for the Formation of Public Servers) number.