Interface that a DevTools extension host should implement.
This interface is implemented by DevTools itself as well as by a simulated DevTools environment for simplifying extension development.
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
-
forceReload(
) → void - This method should send a DevToolsExtensionEventType.forceReload event to the extension to notify it to perform a reload on itself.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEventReceived(
DevToolsExtensionEvent event, {void onUnknownEvent()?}) → void - Handles events sent by the extension.
-
ping(
) → void - This method should send a DevToolsExtensionEventType.ping event to the DevTools extension to check that it is ready.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateTheme(
{required String theme}) → void - This method should send a DevToolsExtensionEventType.themeUpdate event to the extension to notify it of a theme change in DevTools.
-
updateVmServiceConnection(
{required String? uri}) → void - This method should send a DevToolsExtensionEventType.vmServiceConnection event to the extension to notify it of the vm service uri it should establish a connection to.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited