DiagramParagraphCache class final

LRU retention is bounded by both paragraph count and source text size. Eviction releases cache references; it must not dispose resources still referenced by an immutable published scene.

Constructors

DiagramParagraphCache({required int maxEntries, required int maxCodeUnits})

Properties

codeUnits → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
length → int
no setter
maxCodeUnits → int
final
maxEntries → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(DiagramParagraphCacheKey key, List<DiagramMeasuredTextLine> build()) → List<DiagramMeasuredTextLine>
toString() → String
A string representation of this object.
inherited

Operators

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