You can get the body bytes and convert it..
http.Response response = await _api.getData(); String source = Utf8Decoder().convert(response.bodyBytes); // Convert to your class instance... MyClass instance = json.decode(source);