findWithFinder method
Find records matching the given finder.
Implementation
Future<List<Map<String, dynamic>>> findWithFinder(Finder finder) async {
final recordSnapshot = await _collection.find(_database, finder: finder);
return recordSnapshot.map((snapshot) {
var map = cloneMap(snapshot.value as Map<String, dynamic>);
map[ID_KEY] = snapshot.key as int?;
return map;
}).toList();
}