maybeMap<TResult extends Object?> method
TResult
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()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(MyError_Aria2 value)? aria2,
TResult Function(MyError_Parse value)? parse,
TResult Function(MyError_WebsocketIo value)? websocketIo,
TResult Function(MyError_Json value)? json,
TResult Function(MyError_WebsocketClosed value)? websocketClosed,
TResult Function(MyError_ReconnectTaskTimeout value)? reconnectTaskTimeout,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;