User class abstract
User
Properties:
- id
- createAt - The time in milliseconds a user was created
- updateAt - The time in milliseconds a user was last updated
- deleteAt - The time in milliseconds a user was deleted
- username
- firstName
- lastName
- nickname
- emailVerified
- authService
- roles
- locale
- notifyProps
- props
- lastPasswordUpdate
- lastPictureUpdate
- failedAttempts
- mfaActive
- timezone
- termsOfServiceId - ID of accepted terms of service, if any. This field is not present if empty.
- termsOfServiceCreateAt - The time in milliseconds the user accepted the terms of service
Constructors
- User([void updates(UserBuilder b)])
-
factory
Properties
- authService → String?
-
no setter
- createAt → int?
-
The time in milliseconds a user was created
no setter
- deleteAt → int?
-
The time in milliseconds a user was deleted
no setter
- email → String?
-
no setter
- emailVerified → bool?
-
no setter
- failedAttempts → int?
-
no setter
- firstName → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setter
- lastName → String?
-
no setter
- lastPasswordUpdate → int?
-
no setter
- lastPictureUpdate → int?
-
no setter
- locale → String?
-
no setter
- mfaActive → bool?
-
no setter
- nickname → String?
-
no setter
- notifyProps → UserNotifyProps?
-
no setter
- props → JsonObject?
-
no setter
- roles → String?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- termsOfServiceCreateAt → int?
-
The time in milliseconds the user accepted the terms of service
no setter
- termsOfServiceId → String?
-
ID of accepted terms of service, if any. This field is not present if empty.
no setter
- timezone → Timezone?
-
no setter
- updateAt → int?
-
The time in milliseconds a user was last updated
no setter
- username → String?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(UserBuilder)) → User -
Rebuilds the instance.
inherited
-
toBuilder(
) → UserBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
User> -
no setter