LoadableState<T> constructor

const LoadableState<T>({
  1. bool isLoading = false,
  2. T? data,
  3. String? errorMessage,
})

Implementation

const LoadableState({
  this.isLoading = false,
  this.data,
  this.errorMessage,
});