shouldLoadRemoteOne method

  1. @protected
bool shouldLoadRemoteOne(
  1. Object? id,
  2. bool remote,
  3. Map<String, dynamic> params,
  4. Map<String, String> headers,
)
inherited

Returns whether calling findOne should initiate an HTTP call.

Meant to be overriden. Defaults to remote.

Implementation

@protected
bool shouldLoadRemoteOne(
  Object? id,
  bool remote,
  Map<String, dynamic> params,
  Map<String, String> headers,
) =>
    remote;