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