FoldedDelta class

One shape of difference, and how much of a comparison wore it.

Measured on this repository on 2026-08-30: a comparison whose events channel reported eleven deltas reported one shape — the same subchannel, the same subject and the same property, eleven times over, differing only in an identity hash. Eleven lines that are one fact, and a channel filter can only ever show or hide all eleven together.

So repetition is folded before anything is filtered: the reader sees system · TextInput.setClient · autofill.uniqueIdentifier 11 steps and can then decide about it. It is also what makes a filter aimable — a rule authored by pointing at a folded row already names the shape, where pointing at one of eleven identical lines names an accident.

Constructors

FoldedDelta({required ChannelDelta delta, required int count, required int items})
const

Properties

count → int
How many deltas folded into this row.
final
delta → ChannelDelta
The first occurrence, standing for all of them.
final
hashCode → int
The hash code for this object.
no setterinherited
items → int
How many of the compared things carried it — steps, or entries.
final
repeated → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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