User class

Information about a user.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

User({String? createdAt, String? activeAt, String? id, String? name, String? email, dynamic roles, bool? isBanned, String? permissions, String? userType, bool? fulfillsNewRequirements, dynamic flags, dynamic details, String? oathClient, Preferences? preferences, bool? hasDefault})
User.fromJson(Map<String, dynamic> json)
factory

Properties

activeAt String?
final
createdAt String?
final
details → dynamic
final
email String?
final
flags → dynamic
final
fulfillsNewRequirements bool?
final
hasDefault bool?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
isBanned bool?
final
name String?
final
oathClient String?
final
permissions String?
final
preferences Preferences?
final
roles → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userType String?
final

Methods

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

Operators

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