UndoTreeEventSourcedModelCodec<S extends EventSourcedSnapshot<S, B, E> , B extends EventSourcedSnapshotBuilder<S, B, E> , E extends UndoableEventSourcedEvent<S, B, E> > class
An Codec which can encode and decode an UndoTreeEventSourcedModel.
- Inheritance
-
- Object
- Codec<
UndoTreeEventSourcedModel< S, B, E> , Map<String, dynamic> > - UndoTreeEventSourcedModelCodec
Constructors
- UndoTreeEventSourcedModelCodec()
-
Create an UndoTreeEventSourcedModelCodec.
const
Properties
-
decoder
→ Converter<
Map< String, dynamic> , UndoTreeEventSourcedModel<S, B, E> > -
Returns the decoder of
this
, converting fromT
toS
.no setteroverride -
encoder
→ Converter<
UndoTreeEventSourcedModel< S, B, E> , Map<String, dynamic> > -
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
Map< String, dynamic> , UndoTreeEventSourcedModel<S, B, E> > -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
Map< String, dynamic> encoded) → UndoTreeEventSourcedModel<S, B, E> -
Decodes
encoded
data.inherited -
encode(
UndoTreeEventSourcedModel< S, B, E> input) → Map<String, dynamic> -
Encodes
input
.inherited -
fuse<
R> (Codec< Map< other) → Codec<String, dynamic> , R>UndoTreeEventSourcedModel< S, B, E> , R> -
Fuses
this
withother
.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