copyWith method
Implementation
PermissionDetails copyWith(
{List<SharePermission>? editPermissions,
List<SharePermission>? sharePermissions}) {
return PermissionDetails(
editPermissions: editPermissions ?? this.editPermissions,
sharePermissions: sharePermissions ?? this.sharePermissions,
);
}