map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult aria2(
    1. MyNotification_Aria2 value
    ),
  2. required TResult webSocketConnected(
    1. MyNotification_WebSocketConnected value
    ),
  3. required TResult websocketClosed(
    1. MyNotification_WebsocketClosed value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(MyNotification_Aria2 value) aria2,
  required TResult Function(MyNotification_WebSocketConnected value)
      webSocketConnected,
  required TResult Function(MyNotification_WebsocketClosed value)
      websocketClosed,
}) =>
    throw _privateConstructorUsedError;