getCollection method
Future<QuerySnapshot<Map<String, dynamic> > >
getCollection(
- List<
String> fields, { - List<
QueryFilter> ? filters, - DocumentSnapshot<
Map< ? startAfter,String, dynamic> > - int? limit,
- GetOptions? getOptions,
Implementation
Future<QuerySnapshot<Map<String, dynamic>>> getCollection(List<String> fields,
{List<QueryFilter>? filters,
DocumentSnapshot<Map<String, dynamic>>? startAfter,
int? limit,
GetOptions? getOptions}) async {
return getQuery(fields, filters: filters, startAfter: startAfter, limit: limit).get(getOptions);
}