toJson method
Implementation
Map<String, dynamic> toJson() => {
if (totalMs != null) 'total_ms': totalMs,
if (stepMs != null) 'step_ms': stepMs,
if (firstChunkMs != null) 'first_chunk_ms': firstChunkMs,
if (chunkMs != null) 'chunk_ms': chunkMs,
};