RepositoryRemoteOperations<T extends SynquillDataModel<T>> mixin

Mixin providing remote operations for repositories.

Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
log Logger
Logger for the repository - must be implemented by concrete classes
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchAllFromRemote({QueryParams? queryParams, Map<String, dynamic>? extra, Map<String, String>? headers}) Future<List<T>>
Fetches all items from the remote API.
fetchFromRemote(String id, {QueryParams? queryParams, Map<String, dynamic>? extra, Map<String, String>? headers}) Future<T?>
Fetches an item from the remote API.
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