AbstractValidator<E> class abstract

Constructors

AbstractValidator()

Properties

hashCode int
The hash code for this object.
no setterinherited
ruleBuilders List<AbstractRuleBuilder<E>>
The collection of rule builders
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ruleFor(dynamic func(E e), {required String key, bool useKeyAsElementName = false}) AbstractRuleBuilder<E>
Creates a new builder to represent a list of rules.
toString() String
A string representation of this object.
inherited
validate(E object, {bool ignorePassedMessages = true}) ValidationResult
Validates an object, returning a merged list of validation result.

Operators

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