internalSetup method

  1. @internal
  2. @override
  3. @nonVirtual
void internalSetup(
  1. ProxyRef ref,
  2. BaseProvider<BaseNotifier<T>, T>? provider
)

Handles the actual initialization of the notifier. Calls init internally.

Implementation

@internal
@override
@nonVirtual
void internalSetup(
  ProxyRef ref,
  BaseProvider<BaseNotifier<T>, T>? provider,
) {
  _watchableRef = WatchableRefImpl(
    container: ref.container,
    rebuildable: this,
  );

  super.internalSetup(ref, provider);
}