CleanStateError<T, E> class abstract

Inheritance

Constructors

CleanStateError({required E error})
const
factory

Properties

copyWith → _$$CleanStateErrorImplCopyWith<T, E, _$CleanStateErrorImpl<T, E>>
no setter
error → E
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

maybeWhen<TResult extends Object?>({TResult initial()?, TResult loading()?, TResult error(E error)?, TResult success(T data, bool refresh)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult initial(), required TResult loading(), required TResult error(E error), required TResult success(T data, bool refresh)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? initial()?, TResult? loading()?, TResult? error(E error)?, TResult? success(T data, bool refresh)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited