CoursesCompanion.insert constructor
- Value<
int> id = const Value.absent(), - Value<
DateTime?> fetchedAt = const Value.absent(), - required String code,
- required double credits,
- required int hours,
- Value<
String?> nameEn = const Value.absent(), - Value<
String?> nameZh = const Value.absent(), - Value<
String?> descriptionEn = const Value.absent(), - Value<
String?> descriptionZh = const Value.absent(),
Implementation
CoursesCompanion.insert({
this.id = const Value.absent(),
this.fetchedAt = const Value.absent(),
required String code,
required double credits,
required int hours,
this.nameEn = const Value.absent(),
this.nameZh = const Value.absent(),
this.descriptionEn = const Value.absent(),
this.descriptionZh = const Value.absent(),
}) : code = Value(code),
credits = Value(credits),
hours = Value(hours);