StructuredOutputResult constructor
StructuredOutputResult({})
Implementation
factory StructuredOutputResult({
$core.List<$core.int>? parsedJson,
StructuredOutputValidation? validation,
$core.String? rawText,
$core.String? errorMessage,
$core.int? errorCode,
}) {
final result = create();
if (parsedJson != null) result.parsedJson = parsedJson;
if (validation != null) result.validation = validation;
if (rawText != null) result.rawText = rawText;
if (errorMessage != null) result.errorMessage = errorMessage;
if (errorCode != null) result.errorCode = errorCode;
return result;
}