GoogleTranslatorController class

Constructors

GoogleTranslatorController()
factory

Properties

apiKey String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
translateFrom Locale
no setter
translateTo Locale
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
translateText(String text) Future<String>

Operators

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

Static Methods

init(String apiKey, Locale translateFrom, {bool? automaticDetection, Locale? translateTo, required Duration cacheDuration}) → void