map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult aria2(
    1. MyError_Aria2 value
    ),
  2. required TResult parse(
    1. MyError_Parse value
    ),
  3. required TResult websocketIo(
    1. MyError_WebsocketIo value
    ),
  4. required TResult json(
    1. MyError_Json value
    ),
  5. required TResult websocketClosed(
    1. MyError_WebsocketClosed value
    ),
  6. required TResult reconnectTaskTimeout(
    1. MyError_ReconnectTaskTimeout value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(MyError_Aria2 value) aria2,
  required TResult Function(MyError_Parse value) parse,
  required TResult Function(MyError_WebsocketIo value) websocketIo,
  required TResult Function(MyError_Json value) json,
  required TResult Function(MyError_WebsocketClosed value) websocketClosed,
  required TResult Function(MyError_ReconnectTaskTimeout value)
      reconnectTaskTimeout,
}) =>
    throw _privateConstructorUsedError;