getAlbumThumbnail static method
Future<List<int> ?>
getAlbumThumbnail({
- required String albumId,
- MediumType? mediumType,
- int? width,
- int? height,
- bool? highQuality = false,
Get album thumbnail by album id
Implementation
static Future<List<int>?> getAlbumThumbnail({
required String albumId,
MediumType? mediumType,
int? width,
int? height,
bool? highQuality = false,
}) async {
final bytes = await _channel.invokeMethod('getAlbumThumbnail', {
'albumId': albumId,
'mediumType': mediumTypeToJson(mediumType),
'width': width,
'height': height,
'highQuality': highQuality,
});
return bytes != null ? new List<int>.from(bytes) : null;
}