custom static method

Insertable<SlugRow> custom({
  1. Expression<int>? id,
  2. Expression<String>? slug,
})

Implementation

static Insertable<SlugRow> custom({
  Expression<int>? id,
  Expression<String>? slug,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (slug != null) 'slug': slug,
  });
}