BaseValidationConnector<K, I> class abstract

Base class with common logic for ValidationConnector's

Implemented types
Implementers

Constructors

BaseValidationConnector(K field)

Properties

controller ValidationController<K>?
Attached ValidationController controller
no setteroverride
field → K
Field key for error message
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach(ValidationController<K> controller) → void
Attach connector to the validation controller
override
detach() → void
Detach connector from the validation controller
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() String?
Validate current field value. Returns error message if current value is invalid
inherited
validateField() → void
Validates field, and pushes result to the ValidationController
override

Operators

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