toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (auditId != null) {
_json[r'AuditId'] = auditId;
} else {
_json[r'AuditId'] = null;
}
_json[r'AuditData'] = auditData;
if (entityType != null) {
_json[r'EntityType'] = entityType;
} else {
_json[r'EntityType'] = null;
}
if (tablePk != null) {
_json[r'TablePk'] = tablePk;
} else {
_json[r'TablePk'] = null;
}
if (requestId != null) {
_json[r'RequestId'] = requestId;
} else {
_json[r'RequestId'] = null;
}
if (auditDate != null) {
_json[r'AuditDate'] = auditDate!.toUtc().toIso8601String();
} else {
_json[r'AuditDate'] = null;
}
if (auditAction != null) {
_json[r'AuditAction'] = auditAction;
} else {
_json[r'AuditAction'] = null;
}
if (applicationUserId != null) {
_json[r'ApplicationUserId'] = applicationUserId;
} else {
_json[r'ApplicationUserId'] = null;
}
if (applicationUser != null) {
_json[r'ApplicationUser'] = applicationUser;
} else {
_json[r'ApplicationUser'] = null;
}
return _json;
}