toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'call'] = this.call;
    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;
  return json;
}