MyPlaces class abstract

Provides means to populate personal places data source.

Also acts as a owner of the collection of personal places. MyPlaces is memory-only object: nothing is persisted and/or sent over the network. Client has full control on how to store personal places.

Constructors

MyPlaces()
Creates a new instance of this class.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
places → List<GeoPlace>
The list of places which currently belong to this data source. This list is a clone of the internal list and thus changing it has no effect on the data source. Gets the list of places which currently belongs to this data source. The returned list is a clone of the internal list and thus changing it has no effect on the data source.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPlace(GeoPlace place, OnTaskCompleted callback) TaskHandle
Adds a place to this data source.
addPlaces(List<GeoPlace> places, OnTaskCompleted callback) TaskHandle
Adds a list of places to this data source.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAll(OnTaskCompleted callback) TaskHandle
Removes all places from this data source.
removePlace(String placeId, OnTaskCompleted callback) TaskHandle
Removes a place from this data source.
removePlaces(List<String> placeIds, OnTaskCompleted callback) TaskHandle
Removes a list of places from this data source.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited