where method

List<Map<String, dynamic>> where(
  1. bool predicate(
    1. dynamic
    )
)

Implementation

List<Map<String, dynamic>> where(bool Function(dynamic) predicate) {
  return List<Map<String, dynamic>>.from(
    collection.values.where(predicate).toList(),
  );
}