ModelQuery constructor

const ModelQuery(
  1. String path, {
  2. List<ModelQueryFilter> filters = const [],
})

Query class for defining Model.

It is possible to define the path to be queried and other necessary conditions.

Use DocumentModelQuery for documents and CollectionModelQuery for collections.

Modelを定義するためのクエリクラス。

クエリ対象となるpathと他必要な条件を定義することが可能です。

ドキュメントに対してはDocumentModelQuery、コレクションに対してはCollectionModelQueryを使用してください。

Implementation

const ModelQuery(
  this.path, {
  this.filters = const [],
});