EventListener class Null safety

Object event listener.

Constructors

EventListener({required String type, required bool useCapture, required bool passive, required bool once, required ScriptId scriptId, required int lineNumber, required int columnNumber, RemoteObject? handler, RemoteObject? originalHandler, BackendNodeId? backendNodeId})
EventListener.fromJson(Map<String, dynamic> json)
factory

Properties

backendNodeId BackendNodeId?
Node the listener is added to (if any).
final
columnNumber int
Column number in the script (0-based).
final
handler RemoteObject?
Event handler function value.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
lineNumber int
Line number in the script (0-based).
final
once bool
EventListener's once flag.
final
originalHandler RemoteObject?
Event original handler function value.
final
passive bool
EventListener's passive flag.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scriptId ScriptId
Script id of the handler code.
final
type String
EventListener's type.
final
useCapture bool
EventListener's useCapture.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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