JaguarMapCoder class

Encrypts the Map using encrypter. Signs the Map using signer. The final result is made HTTP friendly by Base64 URL encoding.

Both encrypter and signer are optional.

Inheritance

Constructors

JaguarMapCoder({Converter<List<int>, Digest> signer, Codec<String, String> encrypter})

Properties

encrypter Codec<String, String>
The optional encrypter
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signer Converter<List<int>, Digest>
The optional signer
final

Methods

decode(String data) Map<String, String>
Decodes data into Map
override
encode(Map<String, String> values) String
Encodes values
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited