toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'ended_at'] = this.endedAt;
    json[r'joined_at'] = this.joinedAt;
  if (this.pubSubHint != null) {
    json[r'pub_sub_hint'] = this.pubSubHint;
  } else {
    json[r'pub_sub_hint'] = null;
  }
    json[r'sfu_id'] = this.sfuId;
  return json;
}