rewindStoppedTurn method
Makes the conversation answer again after cancelGeneration stopped its
last turn: rewinds to before that turn, then puts the turn back — the
message exactly as it was sent, media included, followed by
partialReply — without generating, so the model keeps the exchange.
With partialReply null the turn is taken out instead: rewound to
before its message, with nothing put back (a turn stopped before it
produced anything, or one whose input did not fit).
StoppedTurnRewind.unsupported when this conversation cannot rewind; throws StoppedTurnRewindException when the native rewind failed.
Implementation
@override
Future<StoppedTurnRewind> rewindStoppedTurn(
Map<String, Object?>? partialReply,
) => Future.value(StoppedTurnRewind.unsupported);