toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.fromHost != null) {
json[r'from_host'] = this.fromHost;
} else {
json[r'from_host'] = null;
}
json[r'sip_caller_number'] = this.sipCallerNumber;
json[r'sip_trunk_number'] = this.sipTrunkNumber;
if (this.sourceIp != null) {
json[r'source_ip'] = this.sourceIp;
} else {
json[r'source_ip'] = null;
}
return json;
}