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
bytesinto 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
valueto 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