turnDuration property

Duration? turnDuration
getter/setter pair

Total wall-clock duration of the turn, set once the turn completes.

Not serialized by toJson; restored transcripts show token counts only.

Plain (non-notifying) field: writers set it before the adjacent notifying isGenerating write so one notification publishes both.

Implementation

Duration? turnDuration;