ValidationRule class

Rule for validation with pattern matching.

Constructors

ValidationRule({required String pattern, required EcMessageKey messageKey, Map<String, Object?> args = const {}})
ValidationRule.digits(int digits)
factory

Properties

args → Map<String, Object?>
final
hashCode → int
The hash code for this object.
no setterinherited
messageKey → EcMessageKey
final
pattern → String
final
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