EntranceLocations class Places
Represents the entrance points for a Landmark.
Each entrance contains a geographic position and an access type (for example vehicle or pedestrian access). Instances are owned by a Landmark and must be obtained through that object's Landmark.entrances getter — do not construct this class directly.
Currently experimental and subject to change.
See also:
- Landmark.entrances — Obtain the entrance locations for a landmark.
- Annotations
-
- @experimental
Properties
- count → int
-
Number of entrance locations.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEntranceLocation(
{required Coordinates coordinates, required EntranceLocationType type}) → bool - Adds a new entrance location to this collection.
-
dispose(
) → void -
Disposes the native object.
inherited
-
getCoordinates(
int index) → Coordinates? -
Returns the Coordinates for the entrance at the given
index. -
getType(
int index) → EntranceLocationType -
Returns the EntranceLocationType for the entrance at
index. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited