setObject method
Sets a JSON-compliant object to be displayed in the sidebar pane.
jsonObject
An object to be displayed in context of the inspected page.
Evaluated in the context of the caller (API client).
rootTitle
An optional title for the root of the expression tree.
callback
A callback invoked after the sidebar is updated with the
object.
Implementation
void setObject(
String jsonObject,
String? rootTitle,
JSFunction? callback,
) {
_wrapped.setObject(
jsonObject,
rootTitle,
callback,
);
}