Locale class

The Locale service allows you to customize your app based on your users' location.

Constructors

Locale(Client client)
Initializes a Locale service

Properties

client Client
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get() Future<Locale>
Get user locale
listCodes() Future<LocaleCodeList>
List Locale Codes
listContinents() Future<ContinentList>
List continents
listCountries() Future<CountryList>
List countries
listCountriesEU() Future<CountryList>
List EU countries
listCountriesPhones() Future<PhoneList>
List countries phone codes
listCurrencies() Future<CurrencyList>
List currencies
listLanguages() Future<LanguageList>
List languages
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