maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult aria2(
- MyNotification_Aria2 value
- TResult webSocketConnected()?,
- TResult websocketClosed()?,
- 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;