watchOneNotifier method

DataStateNotifier<T?> watchOneNotifier(
  1. Object model, {
  2. bool? remote,
  3. Map<String, dynamic>? params,
  4. Map<String, String>? headers,
  5. AlsoWatch<T>? alsoWatch,
  6. String? finder,
  7. DataRequestLabel? label,
})

Implementation

DataStateNotifier<T?> watchOneNotifier(Object model,
    {bool? remote,
    Map<String, dynamic>? params,
    Map<String, String>? headers,
    AlsoWatch<T>? alsoWatch,
    String? finder,
    DataRequestLabel? label}) {
  return remoteAdapter.internalWatch!(watchOneProvider(
    model,
    remote: remote,
    params: params,
    headers: headers,
    alsoWatch: alsoWatch,
    finder: finder,
    label: label,
  ).notifier);
}