copyWith method
SharePermission
copyWith({
- GroupName? group,
- int? id,
- Project? project,
- ProjectRole? role,
- SharePermissionType? type,
- UserBean? user,
Implementation
SharePermission copyWith(
{GroupName? group,
int? id,
Project? project,
ProjectRole? role,
SharePermissionType? type,
UserBean? user}) {
return SharePermission(
group: group ?? this.group,
id: id ?? this.id,
project: project ?? this.project,
role: role ?? this.role,
type: type ?? this.type,
user: user ?? this.user,
);
}