map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult mode(
    1. RunObjectToolChoiceEnumeration value
    ),
  2. required TResult tool(
    1. RunObjectToolChoiceAssistantsNamedToolChoice value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(RunObjectToolChoiceEnumeration value) mode,
  required TResult Function(
          RunObjectToolChoiceAssistantsNamedToolChoice value)
      tool,
}) =>
    throw _privateConstructorUsedError;