create<T> method
Create a ModelAdapterDocumentQuery for a document under a collection using its own CollectionModelQuery and id
.
If id
is Null, uuid (32-byte non-hyphenated string) is used.
origin, callback will be null
, and listen will be false
.
自身のCollectionModelQueryとid
を用いてコレクション配下のドキュメント用のModelAdapterDocumentQueryを作成します。
Implementation
ModelAdapterDocumentQuery create<T>([
String? id,
]) {
return ModelAdapterDocumentQuery(
query: query.create(id),
origin: null,
callback: null,
listen: false,
headers: headers,
method: method,
);
}