TranslationEngine class abstract

Constructors

TranslationEngine({required String identifier, Map<String, dynamic>? option})

Properties

disabled ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setter
identifier ↔ String
getter/setter pair
option ↔ Map<String, dynamic>?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportedScopes → List<TranslationEngineScope>
no setter
type → String
no setter

Methods

detectLanguage(DetectLanguageRequest request) → Future<DetectLanguageResponse>
getSupportedLanguagePairs() → Future<List<LanguagePair>>
lookUp(LookUpRequest request) → Future<LookUpResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited
translate(TranslateRequest request) → Future<TranslateResponse>

Operators

operator ==(Object other) → bool
The equality operator.
inherited