onInitialState method

  1. @override
void onInitialState(
  1. S state
)
override

Called only once with the initial state provided.

Default implementation is a no-op.

Implementation

@override
void onInitialState(S state) => _onInitialState?.call(state);