ShrinkExtensionsString extension

Extensions on String for compression operations.

These extension methods make it more convenient to compress string data and decode base64-encoded strings.

on

Methods

fromBase64() Uint8List

Available on String, provided by the ShrinkExtensionsString extension

Decodes this base64-encoded string to bytes Uint8List.
shrink() Uint8List

Available on String, provided by the ShrinkExtensionsString extension

Compresses this string using UTF-8 encoding and zlib compression.