toCompanion method
- bool nullToAbsent
Implementation
ClassroomsCompanion toCompanion(bool nullToAbsent) {
return ClassroomsCompanion(
id: Value(id),
fetchedAt: fetchedAt == null && nullToAbsent
? const Value.absent()
: Value(fetchedAt),
code: Value(code),
nameZh: Value(nameZh),
);
}