User constructor

User({
  1. String? id,
  2. String? name,
  3. List<Email>? emails,
  4. String? status,
  5. String? statusConnection,
  6. String? username,
  7. double? utcOffset,
  8. bool? active,
  9. List<String>? roles,
  10. Map<String, Preferences>? settings,
  11. String? avatarUrl,
  12. Map<String, String>? customFields,
  13. bool? success = false,
})

Implementation

User({
  this.id,
  this.name,
  this.emails,
  this.status,
  this.statusConnection,
  this.username,
  this.utcOffset,
  this.active,
  this.roles,
  this.settings,
  this.avatarUrl,
  this.customFields,
  this.success = false,
});