DataState<T> constructor

const DataState<T>({
  1. T? data,
  2. DioException? error,
})

Implementation

const DataState({this.data, this.error});