SetonixUser class final

Annotations

Constructors

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})
const

Properties

banned bool
final
bannedUntil DateTime?
final
banReason String?
final
copyWith → SetonixUserCopyWith<SetonixUser, SetonixUser, SetonixUser>
no setterinherited
createdAt DateTime?
final
fingerprint String?
final
hashCode int
The hash code for this object.
no setterinherited
isBanned bool
no setter
lastLogin DateTime?
final
name String
final
onWhitelist bool
final
roles Set<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited