toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.reportId != null) {
json[r'report_id'] = this.reportId;
} else {
json[r'report_id'] = null;
}
if (this.reportName != null) {
json[r'report_name'] = this.reportName;
} else {
json[r'report_name'] = null;
}
if (this.state != null) {
json[r'state'] = this.state;
} else {
json[r'state'] = null;
}
if (this.startedOn != null) {
json[r'started_on'] = this.startedOn;
} else {
json[r'started_on'] = null;
}
if (this.owner != null) {
json[r'owner'] = this.owner;
} else {
json[r'owner'] = null;
}
if (this.expires != null) {
json[r'expires'] = this.expires;
} else {
json[r'expires'] = null;
}
if (this.url != null) {
json[r'url'] = this.url;
} else {
json[r'url'] = null;
}
return json;
}