getImage static method

Future<Uint8List> getImage(
  1. String imageNameWithoutContainer
)

Implementation

static Future<Uint8List> getImage(String imageNameWithoutContainer) async {
  ResponseType responseType = ResponseType.bytes;
  var response = await Dioo.get(blobCDNUrl + imageNameWithoutContainer,
      options: Options(responseType: responseType)
  );
  logger.d("successfully obtained image");
  return response.data;
}