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