toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'call'] = this.call;
json[r'duration'] = this.duration;
if (this.taskId != null) {
json[r'task_id'] = this.taskId;
} else {
json[r'task_id'] = null;
}
return json;
}