open method
Opens the side panel for the extension. This may only be called in response to a user action. |options|: Specifies the context in which to open the side panel. |callback|: Called when the side panel has been opened.
Implementation
Future<void> open(OpenOptions options) async {
await promiseToFuture<void>($js.chrome.sidePanel.open(options.toJS));
}