onChange property

A stream of record of changes to this list

Implementation

Stream<ListChangeNotification<E>> get onChange {
  // ignore: close_sinks
  final ret = StreamController<ListChangeNotification<E>>();
  final now = DateTime.now();
  ret.addStream(_onChange!.skipWhile((m) => m.time.isBefore(now)));
  return ret.stream.asBroadcastStream();
}