StreamEventDto class
Minimal payload identifying which stream emitted an event.
- Annotations
-
- @JsonSerializable.new()
Constructors
- StreamEventDto({required String streamId})
-
Creates an event payload targeting
streamId. -
StreamEventDto.fromJson(Map<
String, dynamic> json) -
Deserialises a StreamEventDto from JSON.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialises this DTO to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited