copyWith method
AITranscriberSettings
copyWith({
- SourceLanguage? sourceLanguage,
- TranslationLanguage? translationLanguage,
- bool clearTranslationLanguage = false,
- bool? showBilingual,
Implementation
AITranscriberSettings copyWith({
SourceLanguage? sourceLanguage,
TranslationLanguage? translationLanguage,
bool clearTranslationLanguage = false,
bool? showBilingual,
}) {
return AITranscriberSettings(
sourceLanguage: sourceLanguage ?? this.sourceLanguage,
translationLanguage: clearTranslationLanguage ? null : (translationLanguage ?? this.translationLanguage),
showBilingual: showBilingual ?? this.showBilingual,
);
}