QudsLanguage class

Represents a translation to some language

Constructors

QudsLanguage.fromLanguageDetails(QudsLanguageDetails details)
Create an instance of QudsLanguage using an instance of QudsLanguageDetails

Properties

abbreviatedName String?
The abbreviated name of the language like 'ع'
getter/setter pair
countryCode String?
The country code like 'PS'
getter/setter pair
countryName String?
The country name like 'فلسطين'
getter/setter pair
dictionary Map<String, String>
The dicionary of the co-words of this language
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
langCode String?
The language code like 'ar'
getter/setter pair
langName String?
The language name like 'العربية'
getter/setter pair
materialLocalizationsDelegate → _MaterialLocalizationsDelegate
no setter
prefferedFont String?
The desired font family of the language
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDirection TextDirection?
The text direction of the language
getter/setter pair

Methods

mergeDictionary(Map<String, String> map) → void
Merge another dictionary with the current dictionary
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
translate(String key) String
Get the translation mapped to key

Operators

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