createView method

RecorderView createView(
  1. String title,
  2. String pagePath
)

Creates a view that can handle the replay. This view will be embedded inside the Recorder panel. title Title that is displayed next to the extension icon in the Developer Tools toolbar. pagePath Path of the panel's HTML page relative to the extension directory.

Implementation

RecorderView createView(
  String title,
  String pagePath,
) {
  return RecorderView.fromJS($js.chrome.devtools.recorder.createView(
    title,
    pagePath,
  ));
}