SipInfoData.fromJson constructor
SipInfoData.fromJson(
- Map<String, dynamic> data
)
Implementation
factory SipInfoData.fromJson(Map<String, dynamic> data) {
return SipInfoData(
authPass: data['authPass'],
userID: data['userID'],
authID: data['authID'],
registerServer: data['registerServer'],
outboundServer: data['outboundServer'],
port: data['port'],
accountName: data['accountName'],
displayName: data['displayName'],
dialPlan: data['dialPlan'],
randomPort: data['randomPort'],
voicemail: data['voicemail'],
wssUrl: data['wssUrl'],
userName: data['userName'],
apiDomain: data['apiDomain'],
userAgent: data['userAgent'],
);
}