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