DetailsRepository<T, I> class abstract interface

DetailsRepository allows to retrieve an item based on its id.

T - the element type. I - the element's id type.

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(I id) Future<T?>
Retrieves an element with given id. When there's no element matching the given id null should be returned.
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