GenericState<T>.errorState constructor

const GenericState<T>.errorState({
  1. @Default.new(false) bool isRefresh,
  2. required String exception,
})

Implementation

const factory GenericState.errorState({
  @Default(false) bool isRefresh,
  required String exception,
}) = _ErrorState<T>;