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