User constructor
const
User({ - required int id,
- DateTime? fetchedAt,
- required String studentId,
- required String nameZh,
- String? nameEn,
- DateTime? dateOfBirth,
- String? programZh,
- String? programEn,
- String? departmentZh,
- String? departmentEn,
- required String avatarFilename,
- required String email,
- int? passwordExpiresInDays,
})
Implementation
const User({
required this.id,
this.fetchedAt,
required this.studentId,
required this.nameZh,
this.nameEn,
this.dateOfBirth,
this.programZh,
this.programEn,
this.departmentZh,
this.departmentEn,
required this.avatarFilename,
required this.email,
this.passwordExpiresInDays,
});