clone method
Creates a deep copy of this SpeechToTextOptions.
Implementation
SpeechToTextOptions clone() => SpeechToTextOptions(
modelId: modelId,
speechLanguage: speechLanguage,
speechSampleRate: speechSampleRate,
textLanguage: textLanguage,
additionalProperties: additionalProperties != null
? Map.of(additionalProperties!)
: null,
);