SetonixUser constructor
const
SetonixUser({ - String? fingerprint,
- required String name,
- bool onWhitelist = false,
- Set<String> roles = const {kDefaultServerRole},
- bool banned = false,
- DateTime? bannedUntil,
- String? banReason,
- DateTime? createdAt,
- DateTime? updatedAt,
- 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,
});