User constructor
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< ? autoDelegations,String> > - DateTime? createdDate,
- DateTime? termsOfUseDate,
- String? email,
- String? mobilePhone,
- Map<
String, String> ? applicationTokens, - Map<
String, AuthenticationToken> ? authenticationTokens, - UserSystemMetadata? systemMetadata,
Implementation
User(
this.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
}) : rev = rev ?? null,
deletionDate = deletionDate ?? null,
created = created ?? null,
identifier = identifier ?? [],
name = name ?? null,
properties = properties ?? {},
permissions = permissions ?? {},
roles = roles ?? {},
type = type ?? null,
status = status ?? null,
login = login ?? null,
passwordHash = passwordHash ?? null,
groupId = groupId ?? null,
healthcarePartyId = healthcarePartyId ?? null,
patientId = patientId ?? null,
deviceId = deviceId ?? null,
autoDelegations = autoDelegations ?? {},
createdDate = createdDate ?? null,
termsOfUseDate = termsOfUseDate ?? null,
email = email ?? null,
mobilePhone = mobilePhone ?? null,
applicationTokens = applicationTokens ?? {},
authenticationTokens = authenticationTokens ?? {},
systemMetadata = systemMetadata ?? null;