ReadMixin<T> mixin
Adds getById 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
-
getById(
String id, RequestDetails details) → Future< ReadResult< T> > -
Loads the instance of
Twhose primary key isid. -
getByIds(
Set< String> ids, RequestDetails details) → Future<ReadListResult< T> > -
Loads all instances of
Twhose primary key is in the setids. -
getItems(
RequestDetails details) → Future< ReadListResult< T> > -
Loads all instances of
Tthat satisfy any filtes or pagination ondetails. -
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