NextValidations 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 Methods
-
isAlphanumeric(
String input) → bool - Validates if the given string contains only alphanumeric characters.
-
isValidCreditCard(
String number) → bool - Validates if the given string is a valid credit card number.
-
isValidEmail(
String email) → bool - Validates if the given string is a valid email address.
-
isValidIPv4(
String ip) → bool - Validates if the given string is a valid IPv4 address.
-
isValidIPv6(
String ip) → bool - Validates if the given string is a valid IPv6 address.
-
isValidMacAddress(
String mac) → bool - Validates if the given string is a valid MAC address.
-
isValidPhoneNumber(
String phone) → bool - Validates if the given string is a valid phone number. Supports international formats.
-
isValidUrl(
String url) → bool - Validates if the given string is a valid URL.
-
isValidUUID(
String uuid) → bool - Validates if the given string is a valid UUID.