Evented class

Implementers

Constructors

Evented.fromJsObject(EventedJsImpl jsObject)
Creates a new Evented from a jsObject.

Properties

hashCode int
The hash code for this object.
no setterinherited
jsObject → EventedJsImpl
JS object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fire(Event event, [dynamic properties]) → dynamic
listens(String type) → dynamic
Returns a true if this instance of Evented or any forwardeed instances of Evented have a listener for the specified type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(String type, [dynamic layerIdOrListener, Listener? listener]) MapboxMap
Removes a previously registered event listener.
on(String type, [dynamic layerIdOrListener, Listener? listener]) MapboxMap
Adds a listener to a specified event type.
once(String type, Listener listener) MapboxMap
Adds a listener that will be called only once to a specified event type.
setEventedParent([Evented? parent, dynamic data]) → dynamic
Bubble all events fired by this instance of Evented to this parent instance of Evented.
toString() String
A string representation of this object.
inherited

Operators

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