SupportedDirection class
This class represents a mapping between the learning languages and the from language supported by Duolingo.
Constructors
-
SupportedDirection.from({required String fromLanguage, required List<
String> learningLanguages}) - Returns the new instance of SupportedDirection based on arguments.
Properties
- fromLanguage → String
-
The from language
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
learningLanguages
→ List<
String> -
The learning languages linked to fromLanguage.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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