whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? aria2()?,
- TResult? webSocketConnected()?,
- TResult? websocketClosed()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(String gid, MyEvent event)? aria2,
TResult? Function()? webSocketConnected,
TResult? Function()? websocketClosed,
}) =>
throw _privateConstructorUsedError;