create method
Creates (opens) a new browser window with any optional sizing, position, or default URL provided.
Implementation
Future<Window?> create(CreateData? createData) async {
var $res = await promiseToFuture<$js.Window?>(
$js.chrome.windows.create(createData?.toJS));
return $res?.let(Window.fromJS);
}