Region class
Defines an area, especially part of a country or the world that can be downloaded.
Constructors
Properties
-
childRegions
↔ List<
Region> ? -
All child regions for current region.
Note that each child can again contain multiple children.
A downloadable region will contain the content of all children.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- name ↔ String
-
Name of region. Language is determined by the requested LanguageCode. By default,
it is in LanguageCode.enUs.
getter/setter pair
-
Indicates the navigability type of this region.
getter/setter pair
- regionId ↔ RegionId
-
Unique identifier specifying a region.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeOnDiskInBytes ↔ int
-
Represents the total size of the region on disk in bytes, assuming no pre-existing data on the disk.
This value is a theoretical maximum for the region's size allocation.
Note: If overlapping regions exist or data is already present on the disk,
the actual size occupied might be less than this value due to shared or reused map data.
getter/setter pair
- sizeOnNetworkInBytes ↔ int
-
Region size, for downloading/during network operations, in bytes. Regions are downloaded in
compressed form and hence they have reduced size on network.
Note: This value represents the theoretical maximum size required for the
region during transfer. If overlapping data already exists, the actual size
downloaded may be smaller due to map data reuse.
getter/setter pair
Methods
-
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.