setWallpaper method
Sets wallpaper to the image at url or wallpaperData with the specified layout
Implementation
Future<ByteBuffer?> setWallpaper(SetWallpaperDetails details) async {
var $res = await promiseToFuture<JSArrayBuffer?>(
$js.chrome.wallpaper.setWallpaper(details.toJS));
return $res?.toDart;
}