onChange property

Stream<ListChangeNotification<E>> onChange

A stream of record of changes to this list

Implementation

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