copyWith method
DashboardDetails
copyWith({
- String? description,
- List<
SharePermission> ? editPermissions, - String? name,
Implementation
DashboardDetails copyWith(
{String? description,
List<SharePermission>? editPermissions,
String? name,
List<SharePermission>? sharePermissions}) {
return DashboardDetails(
description: description ?? this.description,
editPermissions: editPermissions ?? this.editPermissions,
name: name ?? this.name,
sharePermissions: sharePermissions ?? this.sharePermissions,
);
}