LocalRegex class Null safety

Constructors

LocalRegex()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

formatNumber({required String value, required FormatTypes type}) String?
Checks if mobile number is a valid Zimbabwean mobile number isEconet or isTelecel or isNetone and returns a formatted version
isEconet(String value) bool
Checks if a string is a valid Econet mobile number
isEmail(String value) bool
Checks if an email address is valid
isNetone(String value) bool
Checks if a string is a valid Netone mobile number
isTelecel(String value) bool
Checks if a string is a valid Telecel mobile number
isValidMobile(String value) bool
Validate is mobile number is valid If you're validate Zim numbers we recommend using isValidZimMobile
isValidPassword(String value) bool
Validate passwords
isValidZimDriversLicence(String value) bool
Checks if a string is a valid Driver's Licence for Zimbabwe
isValidZimID(String value) bool
Checks if a string is a valid National ID number for Zimbabwe
isValidZimMobile(String value) bool
Checks if a string is a valid Zimbabwean mobile number registered under the top 3 mobile network providers
isValidZimPassport(String value) bool
Checks if a string is a valid Passport number for Zimbabwe
isValidZimVehicleNumberPlate(String value) bool
Checks if a string is a valid Vehicle Number plate for Zimbabwe