RelatedValidator<S> class sealed

Base class for validators that depend on another field's value.

Used for "password confirmation" style validation where one field must match or differ from another.

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

build(ValidatorTarget target) DependantValidator<S, ValidatorTarget>
Builds a concrete validator given a target field's state.
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