User constructor
Constructs a User instance.
The userName is required, while the ID and hashedPassword are optional.
If the ID is not provided, it defaults to 0.
Implementation
User({
int? ID,
required this.userName,
this.hashedPassword,
}) {
this.ID = ID ?? 0;
}