decompressData static method
Decompress gzip data (if needed for reading)
Note: This is for client-side decompression. The contract expects pre-compressed data and doesn't decompress on-chain.
Implementation
static Uint8List decompressData(Uint8List compressedData) {
final codec = GZipCodec();
return Uint8List.fromList(codec.decode(compressedData));
}