LocaleInfo class
Constructors
- LocaleInfo(String localeTag, {String? translatedLocale, String? translatedLanguage, String? translatedRegion})
-
const
-
LocaleInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- localeTag → String
-
IETF BCP 47 language tag, e.g. 'en-US'
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- translatedLanguage → String?
-
Localized language, e.g. 'English'
final
- translatedLocale → String?
-
Localized locale, e.g. 'English (United Stated)'
final
- translatedRegion → String?
-
Localized country/region, e.g. 'United States'
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override