openResource method
Requests DevTools to open a URL in a Developer Tools panel.
url The URL of the resource to open.
lineNumber Specifies the line number to scroll to when the resource is
loaded.
columnNumber Specifies the column number to scroll to when the
resource is loaded.
callback A function that is called when the resource has been
successfully loaded.
Implementation
void openResource(
String url,
int lineNumber,
int? columnNumber,
JSFunction? callback,
) {
$js.chrome.devtools.panels.openResource(
url,
lineNumber,
columnNumber,
callback,
);
}