TokenProvider class abstract

An interface for generating a token for the translation API.

Classes that implement this interface are responsible for providing a valid authentication token for the translation requests.

Implementers

Constructors

TokenProvider.new()

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
Generates and returns a token based on the provided text.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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