UserModel constructor
Creates a user model with the given field values.
All identity and contact fields are required. Optional fields default
to null. For constructing instances from API responses, prefer
tryFromJson.
Implementation
const UserModel({
required this.id,
required this.firstName,
required this.lastName,
required this.email,
required this.isNotificationsEnabled,
this.profileImageUrl,
this.emailVerifiedAt,
this.createdAt,
this.updatedAt,
});