mapOrNull<TResult extends Object?> method

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

Implementation

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