saveAs static method
Web: Downloads the file via Browser.
Android: Saves in album. If the album is NULL its name will
be the image name.
Returns the String-path of the created File.
Default: JPG.
Implementation
static Future<String?> saveAs(
Uint8List bytes,
String name, {
String? album,
int quality = 100,
Size? size,
int? dpi,
int rotate = 0,
ImageFormat format = ImageFormat.jpeg,
}) async {
return ImageSave.saveAs(format, bytes, name,
album: album, quality: quality, size: size, dpi: dpi, rotate: rotate);
}