toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.aggregated != null) {
    json[r'aggregated'] = this.aggregated;
  } else {
    json[r'aggregated'] = null;
  }
    json[r'call_duration_seconds'] = this.callDurationSeconds;
    json[r'call_status'] = this.callStatus;
  if (this.callTimeline != null) {
    json[r'call_timeline'] = this.callTimeline;
  } else {
    json[r'call_timeline'] = null;
  }
    json[r'duration'] = this.duration;
  if (this.jitter != null) {
    json[r'jitter'] = this.jitter;
  } else {
    json[r'jitter'] = null;
  }
  if (this.latency != null) {
    json[r'latency'] = this.latency;
  } else {
    json[r'latency'] = null;
  }
    json[r'max_freezes_duration_seconds'] = this.maxFreezesDurationSeconds;
    json[r'max_participants'] = this.maxParticipants;
    json[r'max_total_quality_limitation_duration_seconds'] = this.maxTotalQualityLimitationDurationSeconds;
    json[r'participant_report'] = this.participantReport;
    json[r'publishing_participants'] = this.publishingParticipants;
    json[r'quality_score'] = this.qualityScore;
    json[r'sfu_count'] = this.sfuCount;
    json[r'sfus'] = this.sfus;
  return json;
}