SimpleState<T> constructor

const SimpleState<T>({
  1. bool isInitial = false,
  2. bool isLoading = false,
  3. bool isError = false,
  4. T? data,
  5. String? errorMessage,
})

Implementation

const SimpleState({
  this.isInitial = false,
  this.isLoading = false,
  this.isError = false,
  this.data,
  this.errorMessage,
});