compress function

Future<String> compress(
  1. String s
)

performs string compression in a separate isolate

Implementation

Future<String> compress(String s) async {
  return await compute(compressSync, s);
}