observeQuery<T extends Model> method

  1. @override
Stream<QuerySnapshot<T>> observeQuery<T extends Model>(
  1. ModelType<T> modelType, {
  2. QueryPredicate<Model>? where,
  3. List<QuerySortBy>? sortBy,
  4. ObserveQueryThrottleOptions throttleOptions = const ObserveQueryThrottleOptions.defaults(),
})
override

Implementation

@override
Stream<QuerySnapshot<T>> observeQuery<T extends Model>(
  ModelType<T> modelType, {
  QueryPredicate? where,
  List<QuerySortBy>? sortBy,
  ObserveQueryThrottleOptions throttleOptions =
      const ObserveQueryThrottleOptions.defaults(),
}) {
  return _observeQueryExecutor.observeQuery<T>(
    query: query,
    observe: observe,
    modelType: modelType,
    where: where,
    sortBy: sortBy,
    throttleOptions: throttleOptions,
  );
}