UniversityCompanion.insert constructor
UniversityCompanion.insert({
- Value<
int> id = const Value.absent(), - required String code,
- required String name,
- required String nameInEnglish,
- required bool active,
- required bool locked,
- Value<
String?> imagePath = const Value.absent(), - Value<
String?> description = const Value.absent(), - Value<
String?> note = const Value.absent(),
Implementation
UniversityCompanion.insert({
this.id = const Value.absent(),
required String code,
required String name,
required String nameInEnglish,
required bool active,
required bool locked,
this.imagePath = const Value.absent(),
this.description = const Value.absent(),
this.note = const Value.absent(),
}) : code = Value(code),
name = Value(name),
nameInEnglish = Value(nameInEnglish),
active = Value(active),
locked = Value(locked);