UserModel constructor

UserModel({
  1. required String email,
  2. required String password,
  3. String? token,
  4. String? userId,
})

Constructs a UserModel instance for login or authentication tracking.

Implementation

UserModel({required this.email, required this.password, this.token, this.userId});