toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.participantCount != null) {
json[r'participant_count'] = this.participantCount;
} else {
json[r'participant_count'] = null;
}
if (this.publisherJitter != null) {
json[r'publisher_jitter'] = this.publisherJitter;
} else {
json[r'publisher_jitter'] = null;
}
if (this.publisherLatency != null) {
json[r'publisher_latency'] = this.publisherLatency;
} else {
json[r'publisher_latency'] = null;
}
if (this.subscriberJitter != null) {
json[r'subscriber_jitter'] = this.subscriberJitter;
} else {
json[r'subscriber_jitter'] = null;
}
if (this.subscriberLatency != null) {
json[r'subscriber_latency'] = this.subscriberLatency;
} else {
json[r'subscriber_latency'] = null;
}
return json;
}