put method
Stores a new recording under hash. If a recording already exists,
implementations may overwrite or no-op (FileRecordingStore overwrites
— useful when re-recording after a known-broken capture).
Implementation
@override
Future<void> put(String hash, ModelMessage response) async {
_pendingWrites[hash] = response;
// Trigger a background flush; callers don't need to await each put.
_scheduleFlush();
}