toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"protocol": protocol.toJson(),
"servers": servers.map((i) => i.toJson()).toList(),
"config": config,
"encryption_key": encryptionKey,
"emojis": emojis.map((i) => i).toList(),
"allow_p2p": allowP2p,
};
}