ValidatorUtils class
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 Properties
- errorDescription ↔ String
-
getter/setter pair
Static Methods
-
cnpj(
String? cnpj, [dynamic stripBeforeValidation = true]) → bool -
cpf(
String cpf, [dynamic stripBeforeValidation = true]) → bool -
email(
String? email) → bool -
format(
String cnpj) → String -
formatCpf(
String cpf) → String -
generate(
[bool useFormat = false]) → String -
generateCpf(
[bool useFormat = false]) → String -
phone(
String? phone) → bool -
strip(
String? cnpj) → String -
stripCpf(
String? cpf) → String -
validate(
List< ValidatorModel> lstvalidate) → bool
Constants
-
blackList
→ const List<
String> -
blackListCpf
→ const List<
String> - stripRegex → const String