EntityListConfig<T extends Object> constructor

const EntityListConfig<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,
})

Implementation

const EntityListConfig({
  required this.type,
  required this.queryKey,
  required this.fromGraph,
  this.toGraph,
  this.query = const ListQuery(),
  this.completeness = ViewCompleteness.remote,
  this.enabled = true,
  this.subscribe = true,
});