User class abstract
- Implemented types
- Annotations
-
- @freezed
Constructors
-
User.new({required String id, @Default(null) String? rev, @Default(null) int? deletionDate, @Default(null) int? created, @Default([]) List<
Identifier> identifier, @Default(null) String? name, @Default({}) Set<DecryptedPropertyStub> properties, @Default({}) Set<Permission> permissions, @Default({}) Set<String> roles, @Default(null) UsersType? type, @Default(null) UsersStatus? status, @Default(null) String? login, @Default(null) String? passwordHash, @Default(null) String? groupId, @Default(null) String? healthcarePartyId, @Default(null) String? patientId, @Default(null) String? deviceId, @Default({}) Map<DelegationTag, Set< autoDelegations, @Default(null) DateTime? createdDate, @Default(null) DateTime? termsOfUseDate, @Default(null) String? email, @Default(null) String? mobilePhone, @Default({}) Map<String> >String, String> applicationTokens, @Default({}) Map<String, AuthenticationToken> authenticationTokens, @Default(null) UserSystemMetadata? systemMetadata}) -
constfactory
Properties
-
applicationTokens
→ Map<
String, String> -
no setterinherited
-
authenticationTokens
→ Map<
String, AuthenticationToken> -
no setterinherited
-
autoDelegations
→ Map<
DelegationTag, Set< String> > -
no setterinherited
-
copyWith
→ $UserCopyWith<
User> -
Create a copy of User
with the given fields replaced by the non-null parameter values.
no setterinherited
- created → int?
-
no setterinherited
- createdDate → DateTime?
-
no setterinherited
- deletionDate → int?
-
no setterinherited
- deviceId → String?
-
no setterinherited
- email → String?
-
no setterinherited
- groupId → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- healthcarePartyId → String?
-
no setterinherited
- id → String
-
no setterinherited
-
identifier
→ List<
Identifier> -
no setterinherited
- login → String?
-
no setterinherited
- mobilePhone → String?
-
no setterinherited
- name → String?
-
no setterinherited
- passwordHash → String?
-
no setterinherited
- patientId → String?
-
no setterinherited
-
permissions
→ Set<
Permission> -
no setterinherited
-
properties
→ Set<
DecryptedPropertyStub> -
no setterinherited
- rev → String?
-
no setterinherited
-
roles
→ Set<
String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → UsersStatus?
-
no setterinherited
- systemMetadata → UserSystemMetadata?
-
no setterinherited
- termsOfUseDate → DateTime?
-
no setterinherited
- type → UsersType?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited