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