custom static method
Implementation
static Insertable<Course> custom({
Expression<int>? id,
Expression<DateTime>? fetchedAt,
Expression<String>? code,
Expression<double>? credits,
Expression<int>? hours,
Expression<String>? nameEn,
Expression<String>? nameZh,
Expression<String>? descriptionEn,
Expression<String>? descriptionZh,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (fetchedAt != null) 'fetched_at': fetchedAt,
if (code != null) 'code': code,
if (credits != null) 'credits': credits,
if (hours != null) 'hours': hours,
if (nameEn != null) 'name_en': nameEn,
if (nameZh != null) 'name_zh': nameZh,
if (descriptionEn != null) 'description_en': descriptionEn,
if (descriptionZh != null) 'description_zh': descriptionZh,
});
}