custom static method

Insertable<SessionRow> custom({
  1. Expression<String>? id,
  2. Expression<String>? ip,
  3. Expression<String>? userAgent,
  4. Expression<int>? lastActivatedAt,
  5. Expression<int>? rowid,
})

Implementation

static Insertable<SessionRow> custom({
  Expression<String>? id,
  Expression<String>? ip,
  Expression<String>? userAgent,
  Expression<int>? lastActivatedAt,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (ip != null) 'ip': ip,
    if (userAgent != null) 'user_agent': userAgent,
    if (lastActivatedAt != null) 'last_activated_at': lastActivatedAt,
    if (rowid != null) 'rowid': rowid,
  });
}