ResolvedEvent class

A structure representing a single event or a resolved link event.

Implementers

Constructors

ResolvedEvent(EventRecord event, EventRecord? link, Int64? commitPosition)
Constructs a new ResolvedEvent.

Properties

event EventRecord
If this ResolvedEvent represents a link event, the event will be the resolved link event, otherwise it will be the single event.
final
hashCode int
The hash code for this object.
no setterinherited
isResolved bool
Indicates whether this ResolvedEvent is a resolved link event.
no setter
The link event if this ResolvedEvent is a link event.
final
originalEvent EventRecord
Returns the event that was read or which triggered the subscription.
no setter
originalEventId → UuidValue
The event id of the originalEvent.
no setter
originalEventNumber StreamPosition
The StreamPosition in the stream of the originalEvent.
no setter
originalEventType String
The type of the originalEvent.
no setter
originalPosition LogPosition?
LogPosition of the originalEvent if available.
final
originalStreamId String
The stream name of the originalEvent.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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