ReducerPod<T extends Object> constructor
ReducerPod<T extends Object> ({})
Implementation
ReducerPod({required this.responder, required this.reducer}) {
// First-pass: subscribe to parents AND compute the initial value, then
// initialize `value` directly. Going through `_set` here would crash on a
// [LateInitializationError] for any [Comparable]/[num]/[bool]/[Enum] T,
// because `_set`'s equality short-circuit reads `value` before it has been
// assigned. Subsequent fires go through `_refresh` -> `_set` normally.
final initial = _getValue();
if (initial.isSome()) {
UNSAFE:
value = initial.unwrap();
}
}