AppLocale class
A BCP-47-ish locale tag (language-region).
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- language → String
-
Language subtag, lowercase (e.g.
en,tr).final - languageOnly → AppLocale
-
The language-only fallback locale.
no setter
- region → String?
-
Optional region subtag, uppercase (e.g.
US,TR); null when absent.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
The canonical tag form (
en,en_US).no setter
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