Transliteration class

A single transliteration containing source and transliterated text.

Constructors

Transliteration({required String text, required String script, required String sourceText})
const
Transliteration.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script String
The target script code, equal to TransliterationResult.toScript. It's redundant, but Azure returns it.
final
sourceText String
Text in the source script that was used to generate the transliteration.
final
text String
The transliterated text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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