LocalRegex class

Constructors

LocalRegex()

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

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
isAfricom(String value) bool
Checks if a string is a valid Africom VOIP number
isDandemutande(String value) bool
Checks if a string is a valid Dandemutande VOIP number
isDate(String value) bool
isDate Validate if date is valid
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
isLiquid(String value) bool
Checks if a string is a valid Liquid VOIP number
isNetone(String value) bool
Checks if a string is a valid Netone mobile number
isPowertel(String value) bool
Checks if a string is a valid Powertel VOIP number
isTelco(String value) bool
Checks if a string is a valid Telco VOIP number
isTelecel(String value) bool
Checks if a string is a valid Telecel mobile number
isTelone(String value) bool
Checks if a string is a valid Telone VOIP number
isUrl(String value) bool
isUrl Validate if url is valid
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
isValidZimVoipNumber(String value) bool
Checks if a string is a valid Zimbabwean voip number registered under the top 7 voip providers
isZarnet(String value) bool
Checks if a string is a valid Zarnet VOIP number