call<T extends Object> method

EntityListProvider<T> call<T extends Object>({
  1. required String type,
  2. required String queryKey,
  3. required EntityDecoder<T> fromGraph,
  4. EntityEncoder<T>? toGraph,
  5. ListQuery query = const ListQuery(),
  6. ViewCompleteness completeness = ViewCompleteness.remote,
  7. bool enabled = true,
  8. bool subscribe = true,
})

Generated Riverpod family for normalized local, remote, and hybrid lists.

Implementation

EntityListProvider<T> call<T extends Object>({
  required String type,
  required String queryKey,
  required EntityDecoder<T> fromGraph,
  EntityEncoder<T>? toGraph,
  ListQuery query = const ListQuery(),
  ViewCompleteness completeness = ViewCompleteness.remote,
  bool enabled = true,
  bool subscribe = true,
}) => EntityListProvider<T>._(
  argument: (
    type: type,
    queryKey: queryKey,
    fromGraph: fromGraph,
    toGraph: toGraph,
    query: query,
    completeness: completeness,
    enabled: enabled,
    subscribe: subscribe,
  ),
  from: this,
);