RegisterEventLogDto class final

Event-log entry recording that a stream was registered with the runtime.

Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

RegisterEventLogDto({required String id, required String timestamp, required String streamId})
Creates a register event-log entry.
RegisterEventLogDto.fromEventLog(RegisterEventLog log)
Builds a RegisterEventLogDto from an internal RegisterEventLog.
factory
RegisterEventLogDto.fromJson(Map<String, dynamic> json)
Deserialises a RegisterEventLogDto from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Stable identifier for this event-log entry.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamId String
Identifier of the stream the event belongs to.
finalinherited
timestamp String
ISO-8601 timestamp of when the event occurred.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialises this DTO to JSON. Subclasses tag the output with a type discriminator field so fromJson can route to the right factory.
override
toString() String
A string representation of this object.
inherited

Operators

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