User constructor
User({
- required UserType type,
- String? username,
- String? userKey,
- String? accountId,
- UserAccountType? accountType,
- String? email,
- String? publicName,
- Icon? profilePicture,
- String? displayName,
- String? timeZone,
- bool? isExternalCollaborator,
- bool? externalCollaborator,
- List<
OperationCheckResult> ? operations, - UserDetails? details,
- Space? personalSpace,
- UserExpandable? expandable,
- GenericLinks? links,
Implementation
User(
{required this.type,
this.username,
this.userKey,
this.accountId,
this.accountType,
this.email,
this.publicName,
this.profilePicture,
this.displayName,
this.timeZone,
bool? isExternalCollaborator,
bool? externalCollaborator,
List<OperationCheckResult>? operations,
this.details,
this.personalSpace,
this.expandable,
this.links})
: isExternalCollaborator = isExternalCollaborator ?? false,
externalCollaborator = externalCollaborator ?? false,
operations = operations ?? [];