UndoTreeCodec<E> class

This Codec encodes an UndoTree into an json compatible map, and decodes into an fresh UndoTree.

Inheritance

Constructors

UndoTreeCodec()

Properties

decoder UndoTreeDecoder<E>
Returns the decoder of this, converting from T to S.
final
encoder UndoTreeEncoder<E>
Returns the encoder from S to T.
final
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<Map<String, dynamic>, UndoTree<E>>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Map<String, dynamic> encoded) UndoTree<E>
Decodes encoded data.
inherited
encode(UndoTree<E> input) Map<String, dynamic>
Encodes input.
inherited
fuse<R>(Codec<Map<String, dynamic>, R> other) Codec<UndoTree<E>, R>
Fuses this with other.
inherited
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