Validations class

There's all methods to do validations with regular expressions

Constructors

Validations({required RegularExpression expression})
const
Validations.instance()
const

Properties

expression RegularExpression
The dependency that has regular expression
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isBrazilPostCode(String value) bool
This method does make a validate to check value is even a Brazil post code
isEmail(String value) bool
This method does make a validate to check value is even an email
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceSpecialCharacters(String value, String replace) String
This method does make a replace of all special characters by replace value
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited