DataContract<T> class abstract

Outline of core methods to which all data loaders must adhere.

Mixed-in types
Implementers

Constructors

DataContract()
Outline of core methods to which all data loaders must adhere.
const

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

delete(String id, RequestDetails details) Future<DeleteResult<T>>
Clears an item with the given id if one exists.
inherited
getById(String id, RequestDetails details) Future<ReadResult<T>>
Loads the instance of T whose primary key is id.
inherited
getByIds(Set<String> ids, RequestDetails details) Future<ReadListResult<T>>
Loads all instances of T whose primary key is in the set ids.
inherited
getItems(RequestDetails details) Future<ReadListResult<T>>
Loads all instances of T that satisfy any filtes or pagination on details.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setItem(T item, RequestDetails details) Future<WriteResult<T>>
Persists item.
inherited
setItems(Iterable<T> items, RequestDetails details) Future<WriteListResult<T>>
Persists all items.
inherited
toString() String
A string representation of this object.
inherited

Operators

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