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

Implemented types

Constructors

GoogleTokenGenerator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateToken(String text) String
Generate and return a token
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
TKK() List
tokenGen(dynamic a) String
Generate a valid Google Translate request token a is the text to translate
toString() String
A string representation of this object.
inherited
unsignedRightShift(dynamic a, dynamic b) int
wr(dynamic a, dynamic b) int

Operators

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