AlternativeForm class

This class represents the subject in an alternative form.

Constructors

AlternativeForm.from({required String word, required String numeral, required String gender, required String text, required String translationText, required String translation, required String exampleSentence, required String link, required String ttsUrl, required Discussion discussion, required bool isMatched, required bool isInvalid, required bool isHighlighted})
Returns the new instance of AlternativeForm based on arguments.

Properties

discussion Discussion
The discussion
final
exampleSentence String
The example sentence in html format
final
gender String
The gender
final
hashCode int
The hash code for this object.
no setteroverride
isHighlighted bool
The flag that represents is highlighted or not
final
isInvalid bool
The flag that represents is invalid or not
final
isMatched bool
The flag that represents is matched with word value or not
final
The link to this dictionary in Duolingo
final
numeral String
The numeral
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The text
final
translation String
The translation
final
translationText String
The translation of text
final
ttsUrl String
The url of TTS
final
word String
The word
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.
override