toCompanion method

NotificationAuditCompanion toCompanion(
  1. bool nullToAbsent
)

Implementation

NotificationAuditCompanion toCompanion(bool nullToAbsent) {
  return NotificationAuditCompanion(
    id: Value(id),
    happenedAt: Value(happenedAt),
    checkSum: Value(checkSum),
    summary: Value(summary),
    packageName: Value(packageName),
    type: Value(type),
    title:
        title == null && nullToAbsent ? const Value.absent() : Value(title),
    key: key == null && nullToAbsent ? const Value.absent() : Value(key),
  );
}