onInitialState method
Called only once with the initial state provided.
Default implementation is a no-op.
Implementation
@override
void onInitialState(S state) => _onInitialState?.call(state);
Called only once with the initial state provided.
Default implementation is a no-op.
@override
void onInitialState(S state) => _onInitialState?.call(state);