decompress static method
Decompress invalid UTF-16 strings which produces by compress
.
Implementation
static Future<String?> decompress(final String? compressed) async {
if (compressed == null) return "";
if (compressed.isEmpty) return null;
return await _decompress(
compressed.length, 32768, (index) => compressed.codeUnitAt(index));
}