custom static method

Insertable<BlocklistRow> custom({
  1. Expression<String>? userId,
  2. Expression<String>? reason,
  3. Expression<int>? at,
  4. Expression<String>? cursor,
  5. Expression<int>? rowid,
})

Implementation

static Insertable<BlocklistRow> custom({
  Expression<String>? userId,
  Expression<String>? reason,
  Expression<int>? at,
  Expression<String>? cursor,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (userId != null) 'user_id': userId,
    if (reason != null) 'reason': reason,
    if (at != null) 'at': at,
    if (cursor != null) 'cursor': cursor,
    if (rowid != null) 'rowid': rowid,
  });
}