TranslationConfig class
Translation configuration options.
Constructors
- TranslationConfig({String? sourceLanguage, bool preserveFormatting = true, bool postProcessing = true, bool detectLanguage = true})
-
const
Properties
- detectLanguage → bool
-
Whether to detect source language.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- postProcessing → bool
-
Whether to apply post-processing improvements.
final
- preserveFormatting → bool
-
Whether to preserve original text formatting.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceLanguage → String?
-
Source language code (null for auto-detect).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited