ChatTextMutation class

Computes an atomic content mutation before any host budget admission. Both native adapters and the app controller use this same retained-size algorithm.

Constructors

ChatTextMutation.prepare({required List<ChatTextAppend> parts, required Map<ChatMessage, int> previousRetained, required ChatInputBudget inputBudget, ChatMessage? omissionTarget, ChatInputOmission? omission})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
nextRetained → Map<ChatMessage, int>
final
omission → ChatInputOmission?
final
omissionTarget → ChatMessage?
final
parts → List<ChatTextAppend>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalDelta → int
final

Methods

apply(Object ownerToken) → Set<ChatMessage>
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