SystemLocale class Null safety

Used to represent the locale of the system.

Inheritance

Constructors

SystemLocale()
factory

Properties

countryCode String?
The region subtag for the locale. [...]
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, override
languageCode String
The primary language subtag for the locale. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scriptCode String?
The script subtag for the locale. [...]
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toLanguageTag() String
Returns a syntactically valid Unicode BCP47 Locale Identifier. [...]
inherited
toString() String
Returns a string representing the locale. [...]
@keepToString, inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override