maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult aria2(
    1. MyError_Aria2 value
    )?,
  2. TResult parse(
    1. MyError_Parse value
    )?,
  3. TResult websocketIo(
    1. MyError_WebsocketIo value
    )?,
  4. TResult json(
    1. MyError_Json value
    )?,
  5. TResult websocketClosed(
    1. MyError_WebsocketClosed value
    )?,
  6. TResult reconnectTaskTimeout(
    1. MyError_ReconnectTaskTimeout value
    )?,
  7. 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;