fetchFromRemote method
Fetches an item from the remote API.
This is a placeholder that should be overridden by concrete repository. QueryParams Additional query parameters for filtering (may be used for complex lookups).
Implementation
@protected
Future<T?> fetchFromRemote(
String id, {
QueryParams? queryParams,
Map<String, dynamic>? extra,
Map<String, String>? headers,
}) async {
log.warning('fetchFromRemote() not implemented for $T');
return null;
}