internalSetup method
- @override
- @internal
- @mustCallSuper
- ProxyRef ref,
- BaseProvider<
BaseNotifier< ? providerGraphState> , GraphState>
inherited
Handles the actual initialization of the notifier. Calls init internally.
Implementation
@override
@internal
@mustCallSuper
void internalSetup(
ProxyRef ref,
BaseProvider<BaseNotifier<T>, T>? provider,
) {
super.internalSetup(ref, provider);
_state = _overrideInitialState ?? init();
_initialized = true;
_setupOnChanged(ref.container, provider);
}