query method

List<SyncRecord> query({
  1. required bool where(
    1. SyncRecord
    ),
})

Query records using a where predicate.

Implementation

List<SyncRecord> query({required bool Function(SyncRecord) where}) {
  return _records.values.where(where).toList();
}