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;
  }
  if (this.averageConnectionTime != null) {
    json[r'average_connection_time'] = this.averageConnectionTime;
  } else {
    json[r'average_connection_time'] = 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;
}