DatastoreReadResult class
An immutable container for the data returned from a MapDataStore.
Constructors
-
DatastoreReadResult({required List<
PointOfInterest> pointOfInterests, required List<Way> ways})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isWater ↔ bool
-
True if the read area is completely covered by water, false otherwise.
getter/setter pair
-
pointOfInterests
→ List<
PointOfInterest> -
The read POIs.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ways
→ List<
Way> -
The read ways.
final
Methods
-
add(
PoiWayBundle poiWayBundle) → void -
addDeduplicate(
DatastoreReadResult other, bool deduplicate) → void - Adds other MapReadResult by combining pois and ways. Optionally, deduplication can be requested (much more expensive).
-
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