FreeGoogleTranslationSpell class
This library is a Dart implementation of Google Translate API
author
Gabriel N. Pacheco.
Constructors
- FreeGoogleTranslationSpell({ClientType client = ClientType.siteGT})
Properties
- baseUrl ← String
-
Sets base URL for countries that default URL doesn't work
no getter
- client → ClientType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
String text, {String from = 'auto', String to = 'en'}) → Future< String> -
translateAndPrint(
String text, {String from = 'auto', String to = 'en'}) → void - Translates and prints directly
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited