compress method

Future<Uint8List?> compress({
  1. int compressionLevel = 3,
})

Implementation

Future<Uint8List?> compress({int compressionLevel = 3}) async {
  var data = this;
  if (data == null) return null;
  return ZstandardAndroid().compress(data, compressionLevel);
}