LocalRegex 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
-
formatIfIsZimbabwe(
{required String value, required FormatTypes type}) → String? - Checks if mobile number is a valid Zimbabwean mobile number (Econet, Netone & Telecel) 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
-
isZimbabwean(
String value) → bool - Checks if a string is a valid National ID number for Zimbabwe
-
isZwDriversLicence(
String value) → bool - Checks if a string is a valid Driver's Licence for Zimbabwe
-
isZwMobile(
String value) → bool - Checks if a string is a valid Zimbabwean mobile number registered under the top 3 mobile network providers
-
isZwNumberPlate(
String value) → bool - Checks if a string is a valid Vehicle Number plate for Zimbabwe
-
isZwPassport(
String value) → bool - Checks if a string is a valid Passport number for Zimbabwe
-
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