ValidatorRegexPattern class

A class containing commonly used regular expression patterns for validation.

This class provides static constants for various regex patterns, including those for email, phone number, URL, signed decimal numbers, and date format.

Constructors

ValidatorRegexPattern()

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

Constants

date → const String
Regular expression pattern for validating dates in the format YYYY-MM-DD.
email → const String
Regular expression pattern for validating email addresses.
phone → const String
Regular expression pattern for validating 10-digit phone numbers.
signedDecimalValidator → const String
Regular expression pattern for validating signed decimal numbers.
url → const String
Regular expression pattern for validating URLs.