TurnMetadata class
Turn-level metadata and intent categorization.
Constructors
- TurnMetadata({bool? contractDraftComplete, bool? contractFinalized, bool? contractRelated, String? contractStreamingPhase})
- TurnMetadata.fromJson(Map json_)
Properties
- contractDraftComplete ↔ bool?
-
Set on the terminal event of a contract draft whose every placeholder is
resolved (contract_progress is 100%), whether or not the draft was
published.
getter/setter pair
- contractFinalized ↔ bool?
-
Set on the final artifact event of a turn whose contract draft was
published (a revision was activated).
getter/setter pair
- contractRelated ↔ bool?
-
Indicates whether this assistant turn was contract-related (e.g. contract
drafting, alignment, extraction, or revision).
getter/setter pair
- contractStreamingPhase ↔ String?
-
Set only on in-flight progress estimates emitted while a contract artifact
fence is streaming, and on the revision-turn-start event.
getter/setter pair
- 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, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited