watch method

  1. @override
DelayedStateNotifier<Set<E>> watch()
override

Returns a StateNotifier which emits the latest Set<E> representing this HasMany relationship.

Implementation

@override
DelayedStateNotifier<Set<E>> watch() {
  return _graphEvents.where((e) => e.isNotEmpty).map((e) => toSet());
}