DeregisterEventLogDto class final
Event-log entry recording that a tracked stream completed / closed.
- Inheritance
-
- Object
- EventLogDto
- DeregisterEventLogDto
- Annotations
-
- @JsonSerializable.new()
Constructors
- DeregisterEventLogDto({required String id, required String timestamp, required String streamId})
- Creates a deregister event-log entry.
- DeregisterEventLogDto.fromEventLog(DeregisterEventLog log)
-
Builds a DeregisterEventLogDto from an internal
DeregisterEventLog.factory -
DeregisterEventLogDto.fromJson(Map<
String, dynamic> json) -
Deserialises a DeregisterEventLogDto 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
typediscriminator 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