whereBetween method
Implementation
List<Map<String, dynamic>> whereBetween(
String field, dynamic start, dynamic end) {
return List<Map<String, dynamic>>.from(collection.values
.where((document) =>
document[field] is num &&
document[field] >= start &&
document[field] <= end)
.toList());
}