FetchingState<T, E>.done constructor

FetchingState<T, E>.done({
  1. T? data,
})

Create new FetchingState instance, default status to FetchingStatus.done

Implementation

factory FetchingState.done({T? data}) =>
    FetchingState(fetchingStatus: FetchingStatus.done, data: data);