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|: Returns a Promise which resolves when the side panel has been opened.
Implementation
Future<void> open(OpenOptions options) async {
await $js.chrome.sidePanel.open(options.toJS).toDart;
}