Natl10nPlatform class abstract
Platform implementations should extend this class rather than implement it.
- Inheritance
-
- Object
- PlatformInterface
- Natl10nPlatform
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
localizedCurrencies(
Locale locale, List< String> currencies) → Future<List< CurrencyInfo> > - Returns a list of CurrencyInfo, localized in the specified Locale.
-
localizedLocales(
Locale locale, List< Locale> locales) → Future<List< LocaleInfo> > - Returns a list of LocaleInfo, localized in the specified Locale.
-
localizedTimeZones(
Locale locale, List< String> timeZones, {TimeZoneStyle? style}) → Future<List< TimeZoneInfo> > - Returns a list of TimeZoneInfo, localized in the specified Locale. The formatting style is optional.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
respectivelyLocalizedLocales(
List< Locale> locales) → Future<List< LocaleInfo> > - Returns a list of LocaleInfo, localized in each own Locale respectively.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ Natl10nPlatform
-
The default instance of Natl10nPlatform to use.
getter/setter pair