StreamName class

Class implementing naming convention for event streams

Constructors

StreamName(String value)

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

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.
override

Static Methods

from(Aggregate<Object, Object, AggregateId, AggregateState<Object>> aggregate) StreamName
Get StreamName for given aggregate
fromId(Type type, AggregateId id) StreamName
Get StreamName for given type and id