AggregateRoot<TId> class abstract

Inheritance
Implemented types

Constructors

AggregateRoot({required TId id})

Properties

events List<DomainEvent>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
id ↔ TId
getter/setter pairinherited
props List<Object>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
no setterinherited

Methods

addEvent(DomainEvent event) → void
apply(DomainEvent event) → void
clearEvents() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(DomainEvent event) → void
toString() String
A string representation of this object.
inherited

Operators

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