EditResult<T> class

The result of trying to commit an edit.

Constructors

EditResult.cancelled()
const
EditResult.committed(T row)
const
EditResult.rejected(String error)
const

Properties

error → String?
Validation message; null unless the edit was rejected.
final
hashCode → int
The hash code for this object.
no setterinherited
isCommitted → bool
no setter
isRejected → bool
no setter
outcome → EditOutcome
final
row → T?
The row after the edit; null unless the edit committed.
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
toString() → String
A string representation of this object.
inherited

Operators

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