RelatedValidation<S, M> class

Inheritance

Constructors

RelatedValidation(M key, {ValidationOutcome onSuccess = ValidationOutcome.proceed, ValidationOutcome onFailure = ValidationOutcome.stopWithMessage, required DependantValidator<S, ValidatorTarget> validatorBuilder(ValidatorTarget target), required M message})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key → M?
finalinherited
message → M
final
onFailure ValidationOutcome
finalinherited
onSuccess ValidationOutcome
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validatorBuilder DependantValidator<S, ValidatorTarget> Function(ValidatorTarget target)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(S state, List<ValidationState> stateHistory) ValidationResult<M>
inherited

Operators

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