DataState.error constructor

const DataState.error(
  1. Object exception
)

Implementation

const DataState.error(Object exception)
    : this(loadingState: LoadingState.error, exception: exception);