changesFor<T> method
Recorded changes whose shard is shard (identity comparison).
Implementation
List<ObservedChange<T>> changesFor<T>(Shard<T> shard) {
return _changes
.where((c) => identical(c.shard, shard))
.cast<ObservedChange<T>>()
.toList(growable: false);
}