SetNotifier<T> constructor

SetNotifier<T>([
  1. Set<T> set = const {}
])

Constructs a SetNotifier with an initial set.

Implementation

SetNotifier([Set<T> set = const {}]) : _set = Set<T>.from(set);