custom static method

Insertable<NotificationAuditData> custom({
  1. Expression<int>? id,
  2. Expression<DateTime>? happenedAt,
  3. Expression<String>? checkSum,
  4. Expression<String>? summary,
  5. Expression<String>? packageName,
  6. Expression<String>? type,
  7. Expression<String>? title,
  8. Expression<String>? key,
})

Implementation

static Insertable<NotificationAuditData> custom({
  Expression<int>? id,
  Expression<DateTime>? happenedAt,
  Expression<String>? checkSum,
  Expression<String>? summary,
  Expression<String>? packageName,
  Expression<String>? type,
  Expression<String>? title,
  Expression<String>? key,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (happenedAt != null) 'happened_at': happenedAt,
    if (checkSum != null) 'check_sum': checkSum,
    if (summary != null) 'summary': summary,
    if (packageName != null) 'package_name': packageName,
    if (type != null) 'type': type,
    if (title != null) 'title': title,
    if (key != null) 'key': key,
  });
}