ModelAdapterCollectionQuery constructor
const
ModelAdapterCollectionQuery({
- required CollectionModelQuery query,
- void callback(
- ModelUpdateNotification update
- Object? origin,
- bool listen = true,
- int page = 1,
- Map<
String, String> headers = const {}, - String? method,
Query class to be passed when executing each function of ModelAdapter.
Use ModelAdapterDocumentQuery when executing functions for collections. Use ModelAdapterDocumentQuery to execute document queries.
ModelAdapterの各機能を実行する際に渡すクエリークラス。
コレクション用の機能を実行する際に利用します。ドキュメントのクエリを実行する際はModelAdapterDocumentQueryをご利用ください。
Implementation
const ModelAdapterCollectionQuery({
required this.query,
this.callback,
this.origin,
this.listen = true,
this.page = 1,
this.headers = const {},
this.method,
});