QueueValidation<S, M> class

Inheritance

Constructors

QueueValidation(List<Validation<S, M>> validations, {M? key, ValidationOutcome onSuccess = ValidationOutcome.proceed, ValidationOutcome onFailure = ValidationOutcome.stopWithMessage})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key → M?
finalinherited
onFailure ValidationOutcome
finalinherited
onSuccess ValidationOutcome
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validations List<Validation<S, M>>
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