namedQueryWithConverterGet<T> method
Future<QuerySnapshot<T> >
namedQueryWithConverterGet<T>(
- String name, {
- GetOptions options = const GetOptions(),
- required FromFirestore<
T> fromFirestore, - required ToFirestore<
T> toFirestore,
inherited
Performs a namedQueryGet
and decode the result using Query.withConverter
.
Implementation
Future<QuerySnapshot<T>> namedQueryWithConverterGet<T>(
String name, {
GetOptions options = const GetOptions(),
required FromFirestore<T> fromFirestore,
required ToFirestore<T> toFirestore,
}) async {
final snapshot = await namedQueryGet(name, options: options);
return _WithConverterQuerySnapshot<T>(snapshot, fromFirestore, toFirestore);
}