User class

Implemented types

Constructors

User(String id, {String? rev, int? deletionDate, int? created, List<Identifier>? identifier, String? name, Set<DecryptedPropertyStub>? properties, Set<Permission>? permissions, Set<String>? roles, UsersType? type, UsersStatus? status, String? login, String? passwordHash, String? groupId, String? healthcarePartyId, String? patientId, String? deviceId, Map<DelegationTag, Set<String>>? autoDelegations, DateTime? createdDate, DateTime? termsOfUseDate, String? email, String? mobilePhone, Map<String, String>? applicationTokens, Map<String, AuthenticationToken>? authenticationTokens, UserSystemMetadata? systemMetadata})
User.fromJSON(Map<String, dynamic> data)
factory

Properties

applicationTokens Map<String, String>
getter/setter pair
authenticationTokens Map<String, AuthenticationToken>
getter/setter pair
autoDelegations Map<DelegationTag, Set<String>>
getter/setter pair
created int?
getter/setter pair
createdDate DateTime?
getter/setter pair
deletionDate int?
getter/setter pairoverride
deviceId String?
getter/setter pair
email String?
getter/setter pair
groupId String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
healthcarePartyId String?
getter/setter pair
id String
getter/setter pairoverride-getter
identifier List<Identifier>
getter/setter pair
login String?
getter/setter pair
mobilePhone String?
getter/setter pair
name String?
getter/setter pair
passwordHash String?
getter/setter pair
patientId String?
getter/setter pair
permissions Set<Permission>
getter/setter pair
properties Set<DecryptedPropertyStub>
getter/setter pair
rev String?
getter/setter pairoverride-getter
roles Set<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status UsersStatus?
getter/setter pair
systemMetadata UserSystemMetadata?
getter/setter pair
termsOfUseDate DateTime?
getter/setter pair
type UsersType?
getter/setter pair

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

Static Methods

encode(User value) Map<String, dynamic>