$TranslationApiClient class

Constructors

$TranslationApiClient($Client _rootClient)
Creates a new DynamiteClient for translation_api requests.

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

$languages_Request({bool? oCSAPIRequest}) → Request
Get the list of supported languages.
$languages_Serializer() → DynamiteSerializer<TranslationApiLanguagesResponseApplicationJson, void>
Builds a serializer to parse the response of $languages_Request.
$translate_Request({required String text, required String toLanguage, String? fromLanguage, bool? oCSAPIRequest}) → Request
Translate a text.
$translate_Serializer() → DynamiteSerializer<TranslationApiTranslateResponseApplicationJson, void>
Builds a serializer to parse the response of $translate_Request.
languages({bool? oCSAPIRequest}) Future<DynamiteResponse<TranslationApiLanguagesResponseApplicationJson, void>>
Get the list of supported languages.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
translate({required String text, required String toLanguage, String? fromLanguage, bool? oCSAPIRequest}) Future<DynamiteResponse<TranslationApiTranslateResponseApplicationJson, void>>
Translate a text.

Operators

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