SetonixUser constructor

const SetonixUser({
  1. String? fingerprint,
  2. required String name,
  3. bool onWhitelist = false,
  4. Set<String> roles = const {kDefaultServerRole},
  5. bool banned = false,
  6. DateTime? bannedUntil,
  7. String? banReason,
  8. DateTime? createdAt,
  9. DateTime? updatedAt,
  10. DateTime? lastLogin,
})

Implementation

const SetonixUser({
  this.fingerprint,
  required this.name,
  this.onWhitelist = false,
  this.roles = const {kDefaultServerRole},
  this.banned = false,
  this.bannedUntil,
  this.banReason,
  this.createdAt,
  this.updatedAt,
  this.lastLogin,
});