ProgramRenderChangeSummary class final

Aggregated native-change summary for one render.

Constructors

ProgramRenderChangeSummary({required int dirtyLineCount, required int changedLineCount, required int changedCellCount, required int changedSpanCount})
Creates a change summary.
const
ProgramRenderChangeSummary.fromJson(Map<Object?, Object?> json)
Rebuilds a change summary from serialized JSON data.
factory
ProgramRenderChangeSummary.fromNative({TerminalNativeDeltaFrame? nativeDelta, TerminalNativeCellDeltaFrame? nativeCellDelta, List<TerminalNativeSpanDelta>? nativeSpanDelta})
Builds a summary from native render deltas.
factory

Properties

changedCellCount → int
Total changed cells across all changed lines.
final
changedLineCount → int
Number of lines containing changed cells.
final
changedSpanCount → int
Total grouped semantic spans across all changed lines.
final
dirtyLineCount → int
Number of dirty lines reported by the native renderer.
final
hasChanges → bool
Whether the render exposed any native changes at all.
no setter
hashCode → int
The hash code for this object.
no setterinherited
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
toJson() → Map<String, Object?>
Converts this summary into a serialization-friendly map.
toString() → String
A string representation of this object.
inherited

Operators

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