SinglyLinkedEventSourcedModel<S extends EventSourcedSnapshot<S, B, E> , B extends EventSourcedSnapshotBuilder<S, B, E> , E extends EventSourcedEvent<S, B, E> > class
An EventSourcedModel which uses an LinkedList as the backing data structure.
- Inheritance
-
- Object
- EventSourcedModel<
S, B, E> - SinglyLinkedEventSourcedModel
Constructors
- SinglyLinkedEventSourcedModel(S initialState)
- Create an SinglyLinkedEventSourcedModel
Properties
-
codec
→ Codec<
EventSourcedModel< S, B, E> , Map<String, dynamic> > -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialState → S
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snapshot → S
-
no setteroverride
- undoState → ModelUndoState
-
no setteroverride
Methods
-
add(
E event) → S -
override
-
addAll(
Iterable< E> events) → S -
override
-
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