SparkComposeOrValidator class

Inheritance

Constructors

SparkComposeOrValidator.composeOr({required List<SparkValidator> validators, required String errorMessage, VerifyType type = VerifyType.all, FormStrategy strategy = FormStrategy.noop})

Properties

errorMessage String
verify error message
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy FormStrategy
validate strategy
getter/setter pairinherited
type VerifyType
validate type
getter/setter pairinherited
validators List<SparkValidator>
getter/setter pair

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(dynamic value, String fieldName, VerifyType? type) ValidateResult
validate rule
override

Operators

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