WriteMixin<T> mixin

Introduces setItem and setItems to a data contract.

Mixin applications

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteItem(DeleteOperation<T> operation) → Future<DeleteResult<T>>
Clears an item with the given DeleteOperation.itemId if one exists.
deleteItems(DeleteListOperation<T> operation) → Future<DeleteResult<T>>
Clears all items matching the given DeleteListOperation.details.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setItem(WriteOperation<T> operation) → Future<WriteResult<T>>
Persists WriteOperation.item.
setItems(WriteListOperation<T> operation) → Future<WriteListResult<T>>
Persists all WriteListOperation.items.
toString() → String
A string representation of this object.
inherited

Operators

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