InitialData<D>.run constructor
InitialData<D>.run (
- D create()
Creates an InitialData that will call the create function, passing the TransitionContext
for the transition in progress, to obtain the initial data value. The function is called each
time the data state is entered.
Implementation
factory InitialData.run(D Function(TransitionContext) create) {
return InitialData._(create);
}