copyWithCompanion method
Implementation
NotificationAuditData copyWithCompanion(NotificationAuditCompanion data) {
return NotificationAuditData(
id: data.id.present ? data.id.value : this.id,
happenedAt:
data.happenedAt.present ? data.happenedAt.value : this.happenedAt,
checkSum: data.checkSum.present ? data.checkSum.value : this.checkSum,
summary: data.summary.present ? data.summary.value : this.summary,
packageName:
data.packageName.present ? data.packageName.value : this.packageName,
type: data.type.present ? data.type.value : this.type,
title: data.title.present ? data.title.value : this.title,
key: data.key.present ? data.key.value : this.key,
);
}