setOptions method
Configures the side panel. |options|: The configuration options to apply to the panel. |callback|: Invoked when the options have been set.
Implementation
Future<void> setOptions(PanelOptions options) async {
await promiseToFuture<void>($js.chrome.sidePanel.setOptions(options.toJS));
}