InvokeError<State extends StateBase> class abstract

Implemented types

Constructors

InvokeError({required State state, required Object? error, required StackTrace stackTrace})
const
factory

Properties

copyWith → _$$InvokeErrorImplCopyWith<State, _$InvokeErrorImpl<State>>
no setter
error Object?
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
stackTrace StackTrace
no setter
state → State
no setter

Methods

map<TResult extends Object?>({required TResult done(InvokeDone<State> value), required TResult unhandled(InvokeUnhandled<State> value), required TResult error(InvokeError<State> value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? done(InvokeDone<State> value)?, TResult? unhandled(InvokeUnhandled<State> value)?, TResult? error(InvokeError<State> value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult done(InvokeDone<State> value)?, TResult unhandled(InvokeUnhandled<State> value)?, TResult error(InvokeError<State> value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult done(State state)?, TResult unhandled(State state)?, TResult error(State state, Object? error, StackTrace stackTrace)?, 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 done(State state), required TResult unhandled(State state), required TResult error(State state, Object? error, StackTrace stackTrace)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? done(State state)?, TResult? unhandled(State state)?, TResult? error(State state, Object? error, StackTrace stackTrace)?}) → TResult?
inherited

Operators

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