toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'protocol': protocol?.toJson(),
'servers': servers.map((item) => item.toJson()).toList(),
'config': config,
'encryption_key': encryptionKey,
'emojis': emojis.map((item) => item).toList(),
'allow_p2p': allowP2p,
'is_group_call_supported': isGroupCallSupported,
'custom_parameters': customParameters,
'@type': constructor,
};