maybeMap<TResult extends Object?> method

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

Implementation

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