Entry<T extends Object> class abstract

This value is meant to handle instances where the field value

  • is a literal that can be either server generated or manually entered by the user
  • is a tree or list of items where the user can select one or more items
  • is a tree or list of items where the user can select one item
  • is a DateTime where user can edit manually or select from a calendar
  • is a DateTime where user can select from a calendar
  1. You can derive value from the data
  2. Can be updated by the user (FieldViewModel), by typing or Selecting
  3. Can be sent to the interactor for validation
  4. The interactor can update the data
  5. The interactor can update the validation status
  6. Its selectNext action can take a refreshDataCallback that can be used to update the data
Inheritance
Implementers

Constructors

Entry()
const
Entry.none()
const

Properties

current Object
The current value for the field.

This property defines the current value that is assigned to the field.
no setter
data Iterable<T>
no setter
hashCode int
The hash code for this object.
no setterinherited
isDefined bool
Returns true if the object is defined.

Always check if the object is defined before using it.
no setterinherited
isUndefined bool
Returns true if the object is undefined.

Always check if the object is undefined before using it.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Serves as the initial value
no setter

Methods

fromString(String text) Entry<T>
Get the submittable value
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withSelected(T item) Entry<T>
withUnselected(T item) Entry<T>

Operators

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