RegionDisplayNames class final
See the Rust documentation for RegionDisplayNames
for more information.
- Implemented types
Constructors
- RegionDisplayNames.new(Locale locale, DisplayNamesOptions options)
-
Creates a new
RegionDisplayNames
from locale data and an options bag using compiled data.factory - RegionDisplayNames.createWithProvider(DataProvider provider, Locale locale, DisplayNamesOptions options)
-
Creates a new
RegionDisplayNames
from locale data and an options bag using a particular data source.factory
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of(
String region) → String - Returns the locale specific display name of a region. Note that the function returns an empty string in case the display name for a given region code is not found.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited