SaveCodec class abstract

Encodes and decodes JSON-safe payload maps.

Implementers

Constructors

SaveCodec()
Creates a codec instance.
const

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

decode(String raw) Map<String, dynamic>
Decodes a string into a JSON-safe map.
decodeBytes(List<int> bytes) Map<String, dynamic>
Decodes UTF-8 bytes into a JSON-safe map.
encode(Map<String, dynamic> value) String
Encodes a JSON-safe map into a string representation.
encodeBytes(Map<String, dynamic> value) List<int>
Encodes value to UTF-8 bytes.
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