AccountError class abstract

Implemented types

Constructors

AccountError.new({required String message, dynamic exception, StackTrace? stackTrace})
const
factory

Properties

copyWith → _$$AccountErrorImplCopyWith<_$AccountErrorImpl>
Create a copy of WalletError with the given fields replaced by the non-null parameter values.
no setteroverride
exception → dynamic
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
message String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
no setteroverride

Methods

map<TResult extends Object?>({required TResult accountError(AccountError value), required TResult unknownError(UnknownError value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? accountError(AccountError value)?, TResult? unknownError(UnknownError value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult accountError(AccountError value)?, TResult unknownError(UnknownError value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult accountError(String message, dynamic exception, StackTrace? stackTrace)?, TResult unknownError(String message, dynamic exception, 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 accountError(String message, dynamic exception, StackTrace? stackTrace), required TResult unknownError(String message, dynamic exception, StackTrace? stackTrace)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? accountError(String message, dynamic exception, StackTrace? stackTrace)?, TResult? unknownError(String message, dynamic exception, StackTrace? stackTrace)?}) → TResult?
inherited

Operators

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