withFieldValue method

Iterable<Record> withFieldValue(
  1. String key,
  2. Object? value
)

Records where Record.fields maps key to value. Uses ==.

Implementation

Iterable<Record> withFieldValue(String key, Object? value) =>
    _records.where((r) => r.fields[key] == value);