toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'call'] = this.call;
    json[r'created'] = this.created;
    json[r'credentials'] = this.credentials;
    json[r'duration'] = this.duration;
    json[r'members'] = this.members;
  if (this.membership != null) {
    json[r'membership'] = this.membership;
  } else {
    json[r'membership'] = null;
  }
    json[r'own_capabilities'] = this.ownCapabilities;
    json[r'stats_options'] = this.statsOptions;
  return json;
}