JsonPickler class

Reads and writes Pickles to and from Dart's JSON representation.

This allows integration with a lot of Dart core libraries and extensions, e.g. dart.convert's jsonEncode() or cloud_firestore's add() and get().

Implemented types

Constructors

JsonPickler()

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
readSync(Map<String, dynamic> json) Pickle
Creates a Pickle from an input source.
override
toString() String
A string representation of this object.
inherited
writeSync(Pickle pickle) Map<String, dynamic>
Creates the persistent form of the provided Pickle.
override

Operators

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