LZString class
Constructors
- LZString()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
compress(
String? uncompressed) → Future< String> -
Produces invalid UTF-16 strings from
uncompressed
. -
compressToBase64(
String? input) → Future< String?> -
Produces ASCII UTF-16 strings representing the original string encoded in Base64 from
input
. Can be decompressed withdecompressFromBase64
. -
compressToEncodedURIComponent(
String? input) → Future< String> - Produces ASCII strings representing the original string encoded in Base64 with a few tweaks to make these URI safe.
-
compressToUint8Array(
String uncompressed) → Future< Uint8List> - Produces an uint8Array.
-
compressToUTF16(
String? input) → Future< String> -
Produces "valid" UTF-16 strings from
input
. -
decompress(
String? compressed) → Future< String?> -
Decompress invalid UTF-16 strings which produces by
compress
. -
decompressFromBase64(
String? input) → Future< String?> -
Decompress base64
input
which produces bycompressToBase64
. -
decompressFromEncodedURIComponent(
String? input) → Future< String?> -
Decompress ASCII strings
input
which produces bycompressToEncodedURIComponent
. -
decompressFromUint8Array(
Uint8List? compressed) → Future< String?> -
Decompress uint8Array which produces by
compressToUint8Array
. -
decompressFromUTF16(
String? compressed) → Future< String?> -
Decompress "valid" UTF-16 string which produces by
compressToUTF16