Validator<T extends Object?> class

Constructors

Validator({bool disabled = false})

Properties

errors ValidationErrors
no setter
hasErrors bool
no setter
hashCode int
The hash code for this object.
no setterinherited
hasRules bool
no setter
isEnabled bool
no setter
isValid bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearProp(String propertyName) → void
disable() → void
enable() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prop<TProperty extends Object?>(String propertyName, TProperty propertyFunc(T value)) PropertyValidator<T, TProperty>
toString() String
A string representation of this object.
inherited
validate(T value) → void

Operators

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