GladeValidator<T> class
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parts
↔ List<
InputValidatorPart< T> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
{bool stopOnFirstError = true}) → ValidatorInstance< T> -
clear(
) → void -
custom(
ValidateFunction< T> onValidate, {Object? key}) → void - Checks value with custom validation function.
-
customPart(
InputValidatorPart< T> part) → void -
Checks value through custom validator
part
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notNull(
{OnValidateError< T> ? devError, Object? key}) → void - Checks that value is not null. Returns ValueNullError error.
-
satisfy(
SatisfyPredicate< T> predicate, {OnValidateError<T> ? devError, Object? key}) → void -
Value must satisfy given
predicate
. Returns ValueSatisfyPredicateError. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited