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