toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.agent != null) {
json[r'agent'] = this.agent;
} else {
json[r'agent'] = null;
}
if (this.from != null) {
json[r'from'] = this.from;
} else {
json[r'from'] = null;
}
if (this.record != null) {
json[r'record'] = this.record;
} else {
json[r'record'] = null;
}
if (this.to != null) {
json[r'to'] = this.to;
} else {
json[r'to'] = null;
}
if (this.webhook != null) {
json[r'webhook'] = this.webhook;
} else {
json[r'webhook'] = null;
}
return json;
}