anchor.diff:    @override
     Future<Uint8List> downloadImage(String path) async {
       final url = _makeURL(thumbnailEndpoint + Uri.encodeComponent(path) + '?pad=false');
  -    final response = await _makeRequest(_Method.get, url, authenticate: true);
  -    return response.bodyBytes;
  +    return _makeRequest(_Method.get, url, authenticate: true).then((r) => r.bodyBytes);
     }
   }
  
positive.code:       }
      }
  
      try {
        switch (method) {
          case _Method.get:
            response = await _client.get(url, headers: headers);
            break;
          case _Method.post:
            headers[HttpHeaders.contentTypeHeader] = 'application/json';
            response = await _client.post(url, headers: headers, body: body);
            break;
        }
      } catch (e) {
        throw APIError.networkError;
      }
  
      if (response.statusCode == 401) {
        throw APIError.unauthorized;
      }
  
      if (response.statusCode == 200) {
        return response;
      }
  
      throw APIError.requestFailed;
    }
  
    @override
  
negative.code:   }
  
    Future<Response> _makeRequest(_Method method, String url, {dynamic body, bool authenticate = false}) async {
      Map<String, String> headers = Map();
      if (authenticate) {
        if (_tokenManager.token != null && _tokenManager.token.isNotEmpty) {
  