GoogleTokenGenerator class
This class generates a token passed in google translate api URL with some hard math (based on JS token generator)
author
Gabriel N. Pacheco
- Implements
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
generateToken(
String text) → dynamic - Generate and return a token
-
TKK(
) → dynamic -
tokenGen(
dynamic a) → dynamic -
Generate a valid Google Translate request token
a
is the text to translate -
unsignedRightShift(
dynamic a, dynamic b) → dynamic -
wr(
dynamic a, dynamic b) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited