UserAnonymous constructor

UserAnonymous({
  1. required String type,
  2. required Icon profilePicture,
  3. required String displayName,
  4. List<OperationCheckResult>? operations,
  5. bool? isExternalCollaborator,
  6. UserAnonymousExpandable? expandable,
  7. required GenericLinks links,
})

Implementation

UserAnonymous(
    {required this.type,
    required this.profilePicture,
    required this.displayName,
    List<OperationCheckResult>? operations,
    bool? isExternalCollaborator,
    this.expandable,
    required this.links})
    : operations = operations ?? [],
      isExternalCollaborator = isExternalCollaborator ?? false;