WipRuntime class

Inheritance

Constructors

WipRuntime(WipConnection connection)

Properties

connection WipConnection
finalinherited
hashCode int
The hash code for this object.
no setterinherited
onClosed Stream<WipDomain>
latefinalinherited
onConsoleAPICalled Stream<ConsoleAPIEvent>
no setter
onExceptionThrown Stream<ExceptionThrownEvent>
no setter
onExecutionContextCreated Stream<ExecutionContextDescription>
Issued when new execution context is created.
no setter
onExecutionContextDestroyed Stream<String>
Issued when execution context is destroyed.
no setter
onExecutionContextsCleared Stream
Issued when all executionContexts were cleared in browser.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callFunctionOn(String functionDeclaration, {String? objectId, List? arguments, bool? returnByValue, int? executionContextId}) Future<RemoteObject>
Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
disable() Future<WipResponse>
Disables reporting of execution contexts creation.
enable() Future<WipResponse>
Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context.
evaluate(String expression, {bool? returnByValue, int? contextId, bool? awaitPromise}) Future<RemoteObject>
Evaluates expression on global object.
eventStream<T>(String method, WipEventTransformer<T> transformer) Stream<T>
inherited
getHeapUsage() Future<HeapUsage>
Returns the JavaScript heap usage. It is the total usage of the corresponding isolate not scoped to a particular Runtime.
getIsolateId() Future<String>
Returns the isolate id.
getProperties(RemoteObject object, {bool? ownProperties}) Future<List<PropertyDescriptor>>
Returns properties of a given object. Object group of the result is inherited from the target object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCommand(String method, {Map<String, dynamic>? params}) Future<WipResponse>
inherited
toString() String
A string representation of this object.
inherited

Operators

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