toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.challenge != null) {
json[r'challenge'] = this.challenge;
} else {
json[r'challenge'] = null;
}
if (this.routingNumber != null) {
json[r'routing_number'] = this.routingNumber;
} else {
json[r'routing_number'] = null;
}
json[r'sip_caller_number'] = this.sipCallerNumber;
json[r'sip_headers'] = this.sipHeaders;
json[r'sip_trunk_number'] = this.sipTrunkNumber;
if (this.trunkId != null) {
json[r'trunk_id'] = this.trunkId;
} else {
json[r'trunk_id'] = null;
}
return json;
}