ReactiveValueRecorder<T> constructor

ReactiveValueRecorder<T>(
  1. ReactiveNotifier<T> notifier
)

Creates a recorder that listens to notifier.

Implementation

ReactiveValueRecorder(ReactiveNotifier<T> notifier) {
  _dispose = notifier.listen((value) => values.add(value));
}