MyError_WebsocketClosed class abstract

Inheritance

Constructors

MyError_WebsocketClosed({required String message})
const
factory

Properties

copyWith → _$$MyError_WebsocketClosedImplCopyWith<_$MyError_WebsocketClosedImpl>
Create a copy of MyError with the given fields replaced by the non-null parameter values.
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult aria2(MyError_Aria2 value), required TResult parse(MyError_Parse value), required TResult websocketIo(MyError_WebsocketIo value), required TResult json(MyError_Json value), required TResult websocketClosed(MyError_WebsocketClosed value), required TResult reconnectTaskTimeout(MyError_ReconnectTaskTimeout value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? aria2(MyError_Aria2 value)?, TResult? parse(MyError_Parse value)?, TResult? websocketIo(MyError_WebsocketIo value)?, TResult? json(MyError_Json value)?, TResult? websocketClosed(MyError_WebsocketClosed value)?, TResult? reconnectTaskTimeout(MyError_ReconnectTaskTimeout value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult aria2(MyError_Aria2 value)?, TResult parse(MyError_Parse value)?, TResult websocketIo(MyError_WebsocketIo value)?, TResult json(MyError_Json value)?, TResult websocketClosed(MyError_WebsocketClosed value)?, TResult reconnectTaskTimeout(MyError_ReconnectTaskTimeout value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult aria2(String source)?, TResult parse(String value, String to)?, TResult websocketIo(String source)?, TResult json(String source)?, TResult websocketClosed(String message)?, TResult reconnectTaskTimeout(String source)?, 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 aria2(String source), required TResult parse(String value, String to), required TResult websocketIo(String source), required TResult json(String source), required TResult websocketClosed(String message), required TResult reconnectTaskTimeout(String source)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? aria2(String source)?, TResult? parse(String value, String to)?, TResult? websocketIo(String source)?, TResult? json(String source)?, TResult? websocketClosed(String message)?, TResult? reconnectTaskTimeout(String source)?}) → TResult?
inherited

Operators

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