loadCollection method
Pass query
to the platform set by the adapter to retrieve the collection.
All return values will be Map<String, DynamicMap>. String contains the ID
(not the path) of each document.
アダプターで設定されたプラットフォームにquery
を渡してコレクションを取得します。
戻り値はすべてMap<String, DynamicMap>になります。Stringには各ドキュメントのID
(パスではない)が入ります。
Implementation
@override
Future<Map<String, DynamicMap>> loadCollection(
ModelAdapterCollectionQuery query,
) async {
throw UnsupportedError("This adapter cannot be used as a collection.");
}