custom static method

Insertable<Material> custom({
  1. Expression<int>? id,
  2. Expression<int>? courseOffering,
  3. Expression<String>? title,
  4. Expression<String>? href,
})

Implementation

static Insertable<Material> custom({
  Expression<int>? id,
  Expression<int>? courseOffering,
  Expression<String>? title,
  Expression<String>? href,
}) {
  return RawValuesInsertable({
    if (id != null) 'id': id,
    if (courseOffering != null) 'course_offering': courseOffering,
    if (title != null) 'title': title,
    if (href != null) 'href': href,
  });
}