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