custom static method

Insertable<report> custom({
  1. Expression<int>? id,
  2. Expression<String>? date,
  3. Expression<String>? exception,
  4. Expression<String>? deviceInfo,
})

Implementation

static Insertable<report> custom({
  Expression<int>? id,
  Expression<String>? date,
  Expression<String>? exception,
  Expression<String>? deviceInfo,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (date != null) 'date': date,
    if (exception != null) 'exception': exception,
    if (deviceInfo != null) 'device_info': deviceInfo,
  });
}