whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? mode(
- RunObjectToolChoiceMode value
- TResult? tool()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(RunObjectToolChoiceMode value)? mode,
TResult? Function(AssistantsNamedToolChoice value)? tool,
}) =>
throw _privateConstructorUsedError;