custom static method
- Expression<
int> ? id, - Expression<
DateTime> ? fetchedAt, - Expression<
String> ? code, - Expression<
String> ? nameZh,
Implementation
static Insertable<Classroom> custom({
Expression<int>? id,
Expression<DateTime>? fetchedAt,
Expression<String>? code,
Expression<String>? nameZh,
}) {
return RawValuesInsertable({
if (id != null) 'id': id,
if (fetchedAt != null) 'fetched_at': fetchedAt,
if (code != null) 'code': code,
if (nameZh != null) 'name_zh': nameZh,
});
}