maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult aria2(
- String source
- TResult parse()?,
- TResult websocketIo(
- String source
- TResult json(
- String source
- TResult websocketClosed(
- String message
- TResult reconnectTaskTimeout(
- String source
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(String source)? aria2,
TResult Function(String value, String to)? parse,
TResult Function(String source)? websocketIo,
TResult Function(String source)? json,
TResult Function(String message)? websocketClosed,
TResult Function(String source)? reconnectTaskTimeout,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;