RegionFeature class
Constructors
-
RegionFeature({String? id, String? iso1A2, String? iso1A3, String? iso1N3, String? m49, required String wikidata, String? emojiFlag, String? ccTLD, required String nameEn, List<String>? aliases, String? country, List<String>? groups, List<String>? members, RegionLevel? level, RegionIsoStatus? isoStatus, RegionDrivingSide? driveSide, RegionSpeedUnit? roadSpeedUnit, RegionHeightUnit? roadHeightUnit, List<String>? callingCodes, bool hasGeometry = true})
-
-
RegionFeature.fromJson(Map<String, dynamic> data, [bool hasGeometry = true])
-
factory
Properties
-
aliases
↔ List<String>
-
Additional identifiers which can be used to look up this feature;
these cannot collide with the identifiers for any other feature
latefinal
-
callingCodes
↔ List<String>
-
The international calling codes for this feature, sometimes including area codes
e.g.
1
, 1 340
getter/setter pair
-
ccTLD
↔ String?
-
The ccTLD (country code top-level domain)
getter/setter pair
-
country
→ String?
-
For features entirely within a country, the ISO 3166-1 alpha-2 code for that country
final
-
driveSide
↔ RegionDrivingSide?
-
The side of the road that traffic drives on within this feature
getter/setter pair
-
emojiFlag
↔ String?
-
The emoji flag sequence derived from this feature's ISO 3166-1 alpha-2 code
getter/setter pair
-
groups
↔ List<String>
-
The ISO 3166-1 alpha-2, M49, or QIDs of other features this feature is entirely within, including its country
latefinal
-
hasGeometry
→ bool
-
Whether this region has geometry.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
→ String
-
Unique identifier specific to country-coder
final
-
iso1A2
→ String?
-
ISO 3166-1 alpha-2 code
final
-
iso1A3
→ String?
-
ISO 3166-1 alpha-3 code
final
-
iso1N3
→ String?
-
ISO 3166-1 numeric-3 code
final
-
isoStatus
↔ RegionIsoStatus?
-
The status of this feature's ISO 3166-1 code(s), if any
getter/setter pair
-
level
↔ RegionLevel
-
The rough geographic type of this feature.
Levels do not necessarily nest cleanly within each other.
latefinal
-
m49
↔ String?
-
UN M49 code
getter/setter pair
-
members
↔ List<String>
-
The ISO 3166-1 alpha-2, M49, or QIDs of other features this feature contains;
the inverse of groups
latefinal
-
nameEn
→ String
-
The common English name
final
-
roadHeightUnit
↔ RegionHeightUnit?
-
The unit used for road vehicle height restrictions within this feature
getter/setter pair
-
roadSpeedUnit
↔ RegionSpeedUnit?
-
The unit used for road traffic speeds within this feature
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
wikidata
→ String
-
Wikidata QID
final