getThumbnail method

Future<List<int>> getThumbnail({
  1. int? width,
  2. int? height,
  3. bool? highQuality = false,
})

Get a JPEG thumbnail's data for this medium.

Implementation

Future<List<int>> getThumbnail({
  int? width,
  int? height,
  bool? highQuality = false,
}) {
  return PhotoGallery.getThumbnail(
    mediumId: id,
    width: width,
    height: height,
    mediumType: mediumType,
    highQuality: highQuality,
  );
}