MapObjectCollectionListener class abstract

The map object collection can't be modified in callbacks. A runtime::RuntimeError exception is thrown if this happens.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMapObjectAdded(MapObject mapObject) → void
Called every time a new map object is added to the collection.
onMapObjectRemoved(MapObject mapObject) → void
Called every time a map object is removed from the collection.
toString() String
A string representation of this object.
inherited

Operators

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