toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.callDurationReport != null) {
    json[r'call_duration_report'] = this.callDurationReport;
  } else {
    json[r'call_duration_report'] = null;
  }
  if (this.callParticipantCountReport != null) {
    json[r'call_participant_count_report'] = this.callParticipantCountReport;
  } else {
    json[r'call_participant_count_report'] = null;
  }
  if (this.callsPerDayReport != null) {
    json[r'calls_per_day_report'] = this.callsPerDayReport;
  } else {
    json[r'calls_per_day_report'] = null;
  }
  json[r'duration'] = this.duration;
  if (this.networkMetricsReport != null) {
    json[r'network_metrics_report'] = this.networkMetricsReport;
  } else {
    json[r'network_metrics_report'] = null;
  }
  if (this.qualityScoreReport != null) {
    json[r'quality_score_report'] = this.qualityScoreReport;
  } else {
    json[r'quality_score_report'] = null;
  }
  if (this.sdkUsageReport != null) {
    json[r'sdk_usage_report'] = this.sdkUsageReport;
  } else {
    json[r'sdk_usage_report'] = null;
  }
  if (this.userFeedbackReport != null) {
    json[r'user_feedback_report'] = this.userFeedbackReport;
  } else {
    json[r'user_feedback_report'] = null;
  }
  return json;
}