copyWith method
UserAnonymous
copyWith({
- String? type,
- Icon? profilePicture,
- String? displayName,
- List<
OperationCheckResult> ? operations, - bool? isExternalCollaborator,
- UserAnonymousExpandable? expandable,
- GenericLinks? links,
Implementation
UserAnonymous copyWith(
{String? type,
Icon? profilePicture,
String? displayName,
List<OperationCheckResult>? operations,
bool? isExternalCollaborator,
UserAnonymousExpandable? expandable,
GenericLinks? links}) {
return UserAnonymous(
type: type ?? this.type,
profilePicture: profilePicture ?? this.profilePicture,
displayName: displayName ?? this.displayName,
operations: operations ?? this.operations,
isExternalCollaborator:
isExternalCollaborator ?? this.isExternalCollaborator,
expandable: expandable ?? this.expandable,
links: links ?? this.links,
);
}