ChannelDelta class

One difference, on whichever channel found it.

The union of what PixelChannel, TreeChannel, TextChannel and EventChannel each report, in one shape carrying the facets a reader selects on. half is not among them: a delta belongs to an item, and the item already knows which half it is in.

Nothing computes from this — it is a projection of the channels, built by ComparedItem.deltas and thrown away. The channels stay the record.

Constructors

ChannelDelta({required String channel, String? subchannel, String? subject, String? property, String? base, String? head, String? origin})
const

Properties

base → String?
final
channel → String
pixels, tree, texts or events.
final
hashCode → int
The hash code for this object.
no setterinherited
final
origin → String?
Where the app made the event, for an event that said. Never a fact about the difference; a fact about where to go and look.
final
property → String?
Which field moved — size, detail, data.cart.id — or, where nothing moved but something arrived or left, added, removed or moved.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subchannel → String?
For an event, the channel it travelled on — network, db, log, system. Null on every other channel.
final
subject → String?
What the difference is about: a widget's path through the tree, or an event's own one-line summary. Null where the property says it all.
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) → ChannelDelta