How to decode a Gzip Http Response in Flutter?
问题 I am new to Flutter. I am making a Network Request and I am getting the correct response, but the data is Gzipped. I have decompressed the same in Swift, but with Flutter, I am unable to do that. Can anyone please help? Here's what I have tried: import 'dart:convert'; import 'package:http/http.dart'; import 'package:archive/archive.dart'; import 'package:flutter_app/Constants/constants.dart'; class ServiceHelper { static final sharedInstance = ServiceHelper(); Future<Response> sendRequest(