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