watchAllProvider method

AutoDisposeStateNotifierProvider<DataStateNotifier<List<T>>, DataState<List<T>>> watchAllProvider({
  1. bool? remote,
  2. Map<String, dynamic>? params,
  3. Map<String, String>? headers,
  4. bool? syncLocal,
  5. String? finder,
  6. DataRequestLabel? label,
})

Implementation

AutoDisposeStateNotifierProvider<DataStateNotifier<List<T>>,
    DataState<List<T>>> watchAllProvider({
  bool? remote,
  Map<String, dynamic>? params,
  Map<String, String>? headers,
  bool? syncLocal,
  String? finder,
  DataRequestLabel? label,
}) {
  remote ??= remoteAdapter._remote;
  return _watchAllProvider(
    WatchArgs(
      remote: remote,
      params: params,
      headers: headers,
      syncLocal: syncLocal,
      finder: finder,
      label: label,
    ),
  );
}