AggregateStateError<TEvent extends Object, TValue extends Object, TId extends AggregateId, TState extends AggregateState<TValue> > class
- Inheritance
-
- Object
- AggregateStateResult<
TEvent, TValue, TId, TState> - AggregateStateError
Constructors
- AggregateStateError(Object cause, {required TState previous, required TState current})
Properties
- cause → Object
-
final
- current → TState?
-
Current AggregateState value
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool
-
Check if error state
no setterinherited
- isNoOp → bool
-
Check if no state change occurred
no setterinherited
- isOk → bool
-
Check if state is OK
no setterinherited
- previous → TState
-
Previous AggregateState value
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → int
-
Current version
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited