User constructor

User({
  1. String? id,
  2. DateTime? createdAt,
  3. DateTime? updatedAt,
  4. String? email,
  5. List<String>? roles,
  6. bool? verified,
  7. Map<String, dynamic>? data,
})

Implementation

User({
  this.id,
  this.createdAt,
  this.updatedAt,
  this.email,
  this.roles,
  this.verified,
  this.data,
});