UsersCompanion.insert constructor
UsersCompanion.insert({ - Value<int> id = const Value.absent(),
- Value<DateTime?> fetchedAt = const Value.absent(),
- required String studentId,
- required String nameZh,
- Value<String?> nameEn = const Value.absent(),
- Value<DateTime?> dateOfBirth = const Value.absent(),
- Value<String?> programZh = const Value.absent(),
- Value<String?> programEn = const Value.absent(),
- Value<String?> departmentZh = const Value.absent(),
- Value<String?> departmentEn = const Value.absent(),
- required String avatarFilename,
- required String email,
- Value<int?> passwordExpiresInDays = const Value.absent(),
- Value<DateTime?> semestersFetchedAt = const Value.absent(),
})
Implementation
UsersCompanion.insert({
this.id = const Value.absent(),
this.fetchedAt = const Value.absent(),
required String studentId,
required String nameZh,
this.nameEn = const Value.absent(),
this.dateOfBirth = const Value.absent(),
this.programZh = const Value.absent(),
this.programEn = const Value.absent(),
this.departmentZh = const Value.absent(),
this.departmentEn = const Value.absent(),
required String avatarFilename,
required String email,
this.passwordExpiresInDays = const Value.absent(),
this.semestersFetchedAt = const Value.absent(),
}) : studentId = Value(studentId),
nameZh = Value(nameZh),
avatarFilename = Value(avatarFilename),
email = Value(email);