Field<T, E extends BaseError> class abstract

Implementers
Annotations
  • @immutable

Constructors

Field({T? initialValue})
const
Field.dirty({T? value})
const

Properties

dirty bool
final
error → E?
no setter
getError → E?
no setter
getErrorString String?
no setter
hashCode int
The hash code for this object.
no setteroverride
isValid bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
validate(T? value) Result<T>

Operators

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