MustMatchValidator class

Represents a FormGroup validator that requires that two controls in the group have the same values.

Inheritance

Constructors

MustMatchValidator(String controlName, String matchingControlName, bool markAsDirty)
Constructs an instance of MustMatchValidator
const

Properties

controlName → String
final
hashCode → int
The hash code for this object.
no setterinherited
markAsDirty → bool
final
matchingControlName → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(AbstractControl control) → Map<String, dynamic>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate(AbstractControl control) → Map<String, dynamic>?
Validates the control.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited