toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'_id'] = this.id;
json[r'urlId'] = this.urlId;
json[r'userId'] = this.userId;
json[r'managedByTenantId'] = this.managedByTenantId;
json[r'assignedUserIds'] = this.assignedUserIds;
json[r'subject'] = this.subject;
json[r'createdAt'] = this.createdAt;
json[r'state'] = this.state;
json[r'fileCount'] = this.fileCount;
json[r'files'] = this.files;
if (this.reopenedAt != null) {
json[r'reopenedAt'] = this.reopenedAt;
} else {
json[r'reopenedAt'] = null;
}
if (this.resolvedAt != null) {
json[r'resolvedAt'] = this.resolvedAt;
} else {
json[r'resolvedAt'] = null;
}
if (this.ackAt != null) {
json[r'ackAt'] = this.ackAt;
} else {
json[r'ackAt'] = null;
}
return json;
}