getAlbumThumbnail static method
Implementation
static Future<Uint8List> getAlbumThumbnail({
required String albumUri,
int? width,
int? height,
int? size,
int quality = 100,
}) async {
final raw = await _channel.invokeMethod(
'getAlbumThumbnail',
{
'albumUri': albumUri,
'width': width,
'height': height,
'size': size,
'quality': quality,
},
);
return Uint8List.fromList(raw ?? <int>[]);
}