I am trying to solve this issue since so log and not getting any solution.

final _response = await _apiService.getCall(ApiConstants.url_user_qr + query);
  if (_response?.statusCode == 200) {
    var a = Utf8Decoder().convert(_response?.data.codeUnits);

I tried all the possible solution which I get over internet. Help really appreciated.

Solution 1: Tushar Dubey

After more research I found a solution

dio.get(path, queryParameters: queryParams, options: Options(responseType: ResponseType.bytes));