FakeTurn.chunks constructor

const FakeTurn.chunks(
  1. List<ChatChunk> chunks
)

Answers by emitting chunks verbatim when streamed.

Use this to reproduce a provider's exact fragmentation — the split tool-call arguments, the empty keep-alive frames — which is the only way to test an accumulator against reality.

Implementation

const FakeTurn.chunks(List<ChatChunk> chunks) : this._(chunks: chunks);