FetchingState<T, E>.done constructor
FetchingState<T, E>.done ({
- T? data,
Create new FetchingState instance, default status to FetchingStatus.done
Implementation
factory FetchingState.done({T? data}) =>
FetchingState(fetchingStatus: FetchingStatus.done, data: data);