LanguageModel class
Constructors
- LanguageModel({required String languageName, required String languageCode})
- LanguageModel.arabic()
-
const
- LanguageModel.english()
-
const
- LanguageModel.french()
-
const
- LanguageModel.fromCode(String? locale)
-
factory
- LanguageModel.german()
-
const
- LanguageModel.polish()
-
const
- LanguageModel.spanish()
-
const
- LanguageModel.swahili()
-
const
- LanguageModel.urdu()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → String
-
final
- languageName → String
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
allLanguagesList
→ const List<
LanguageModel>