RegConfig.fromJson constructor
RegConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RegConfig.fromJson(Map<String, dynamic> json) => RegConfig(
domain: json["domain"],
videoLimit: json["videoLimit"],
audioLimit: json["audioLimit"],
recallTime: json["recallTime"],
privateTime: json["privateTime"],
xmppDomain: json["xmppDomain"],
xmppHost: json["xmppHost"],
xmppPort: json["xmppPort"],
adminUser: json["adminUser"],
googleTranslate: json["googleTranslate"],
signalServerDomain: json["signalServerDomain"],
notificationHelpUrl: json["notificationHelpUrl"],
sdkUrl: json["sdkUrl"],
pinExpireDays: json["pinExpireDays"],
pinTimeOut: json["pinTimeOut"],
fileSizeLimit: json["fileSizeLimit"],
stuns: List<String>.from(json["stuns"].map((x) => x)),
turns: List<Turn>.from(json["turns"].map((x) => Turn.fromJson(x))),
liveStreamingSignalServer: json["liveStreamingSignalServer"],
isLiveStreamingEnabled: json["isLiveStreamingEnabled"],
sipcallEnabled: json["sipcallEnabled"],
sipServer: json["sipServer"],
callRoutingServer: json["callRoutingServer"],
chatBackupType: json["chatBackupType"],
chatBackupFrequency: json["chatBackupFrequency"],
xmppPortWeb: json["xmppPortWeb"],
iv: json["iv"],
ivProfile: json["ivProfile"],
);