copyWith method
RoleActor
copyWith({
- ProjectRoleGroup? actorGroup,
- ProjectRoleUser? actorUser,
- String? avatarUrl,
- String? displayName,
- int? id,
- String? name,
- RoleActorType? type,
Implementation
RoleActor copyWith(
{ProjectRoleGroup? actorGroup,
ProjectRoleUser? actorUser,
String? avatarUrl,
String? displayName,
int? id,
String? name,
RoleActorType? type}) {
return RoleActor(
actorGroup: actorGroup ?? this.actorGroup,
actorUser: actorUser ?? this.actorUser,
avatarUrl: avatarUrl ?? this.avatarUrl,
displayName: displayName ?? this.displayName,
id: id ?? this.id,
name: name ?? this.name,
type: type ?? this.type,
);
}