BaseFormInput<V, I, E extends ValidationError> class abstract

Inheritance
Implementers
Available Extensions
Annotations
  • @immutable

Constructors

BaseFormInput.dirty(dynamic id, dynamic value)
const
BaseFormInput.pristine(dynamic id, dynamic value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isPristine bool
If the FormInput is in pristine state (hasn't been touched/modified). Typically when the FormInput is initially created, it is created using the FormInput.pristine constructor to signify that the user has not modified it.
finalinherited
name String
finalinherited
result → Either<E, V>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → I
The value of the given FormInput.
finalinherited

Methods

convert(I value) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(I value) → Either<E, V>
A pure function that validates the given value and returns the result as Either<E, V>, encoding either a corresponding model value or an error message.
override

Operators

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