EventDelta class

One field of one event that moved.

Mirrors TreeDelta deliberately: a reader who has learned one has learned the other, and ChannelLines already knows how to draw that shape.

subchannel, property and origin are the facets a filter selects on — the half and the channel are already this delta's position in the document, so they are not repeated here.

Constructors

EventDelta({required EventDeltaKind kind, required String subchannel, required String title, String? property, String? base, String? head, String? origin})
const

Properties

base → String?
final
hashCode → int
The hash code for this object.
no setterinherited
final
kind → EventDeltaKind
final
origin → String?
Where the app made the event — package:app/src/cart.dart Cart.checkout.
final
property → String?
Which field disagrees: detail, level, data.cartId, body.user.role.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subchannel → String
Which channel the event travelled on — network, db, log, system.
final
title → String
The event's own one-line summary, uncollapsed: POST /login.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, Object?> json) → EventDelta