compress static method

Future<String?> compress(
  1. String? uncompressed
)

Produces invalid UTF-16 strings from uncompressed.

Can be decompressed with decompress.

Implementation

static Future<String?> compress(final String? uncompressed) async =>
    compressSync(uncompressed);