UserModel constructor

UserModel({
  1. String? id,
  2. String? email,
  3. String? password,
  4. String? token,
  5. Map<String, dynamic>? data,
  6. List<String>? roles,
  7. DateTime? created,
  8. DateTime? modified,
})

Constructs a UserModel instance for login or authentication tracking.

Implementation

UserModel({
  this.id,
  this.email,
  this.password,
  this.token,
  this.data,
  this.roles,
  this.created,
  this.modified,
});