toJson method

Map<String, dynamic> toJson()

Implementation

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