OnInitCallback<S> typedef

OnInitCallback<S> = void Function(Store<S> store)

A function that will be run when the StoreConnector is initialized (using the State.initState method). This can be useful for dispatching actions that fetch data for your Widget when it is first displayed.

Implementation

typedef OnInitCallback<S> = void Function(
  Store<S> store,
);