Territory class Territories

Localized territory names.

Constructors

Territory(String code, String name, {String? short, String? variant})
const

Properties

code String
ISO 3166 territory code.
final
containedTerritoryCodes Set<String>?
Return a set of regions that are contained or grouped into this territory.
no setter
countryCodes Set<String>?
Return a set of countries that are contained or grouped into this territory.
no setter
groupedTerritoryCodes Set<String>?
Return a set of regions that are contained or grouped into this territory.
no setter
hashCode int
The hash code for this object.
no setterinherited
isContinent bool
True if this territory is a continent.
no setter
isCountry bool
True if this territory is a country.
no setter
isGrouping bool
True if this territory is a grouping.
no setter
isSubContinent bool
True if this territory is a subcontinent.
no setter
isWorld bool
True if this territory is the world.
no setter
lowestSubdivisionCodes Set<String>?
Return a set of the lowest subdivisions that are contained or grouped into this territory.
no setter
name String
Localized territory name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
short String?
Localized short script name.
final
territoryCodes Set<String>?
Return a set of regions that are contained or grouped into this territory.
no setter
topSubdivisionCodes Set<String>?
Return a set of the top subdivisions that are contained or grouped into this territory.
no setter
variant String?
Localized alternative script name.
final

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.
inherited