DevToolsExtensionEvent class

Data model for a devtools extension event that will be sent and received over 'postMessage' between DevTools and an embedded extension iFrame.

See DevToolsExtensionEventType for different types of events that are supported over this communication channel.

Implementers

Properties

data Map<String, Object?>?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
Optional field to describe the source that created and sent this event.
final
type DevToolsExtensionEventType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

tryParse(Object data) DevToolsExtensionEvent?

Constants

sourceKey → const String