toJson method
Converts a Config instance into a JSON object.
Implementation
Map<String, dynamic> toJson() => {
"domain": domain,
"videoLimit": videoLimit,
"audioLimit": audioLimit,
"recallTime": recallTime,
"privateTime": privateTime,
"xmppDomain": xmppDomain,
"xmppHost": xmppHost,
"xmppPort": xmppPort,
"adminUser": adminUser,
"googleTranslate": googleTranslate,
"signalServerDomain": signalServerDomain,
"notificationHelpUrl": notificationHelpUrl,
"sdkUrl": sdkUrl,
"pinExpireDays": pinExpireDays,
"pinTimeOut": pinTimeOut,
"fileSizeLimit": fileSizeLimit,
"stuns": stuns == null ? [] : List<dynamic>.from(stuns!.map((x) => x)),
"turns": turns == null
? []
: List<dynamic>.from(turns!.map((x) => x.toJson())),
"liveStreamingSignalServer": liveStreamingSignalServer,
"isLiveStreamingEnabled": isLiveStreamingEnabled,
"sipcallEnabled": sipcallEnabled,
"sipServer": sipServer,
"callRoutingServer": callRoutingServer,
"chatBackupType": chatBackupType,
"chatBackupFrequency": chatBackupFrequency,
"xmppPortWeb": xmppPortWeb,
"iv": iv,
"ivProfile": ivProfile,
"groupChat": groupChat,
"attachment": attachment,
"imageAttachment": imageAttachment,
"videoAttachment": videoAttachment,
"audioAttachment": audioAttachment,
"documentAttachment": documentAttachment,
"contactAttachment": contactAttachment,
"locationAttachment": locationAttachment,
"one2oneCall": one2OneCall,
"groupCall": groupCall,
"recentchatSearch": recentchatSearch,
"starMessage": starMessage,
"clearChat": clearChat,
"deleteChat": deleteChat,
"translation": translation,
"block": block,
"report": report,
"deleteMessage": deleteMessage,
"viewAllMedias": viewAllMedias,
"chatHistory": chatHistory,
};