copyWith method
Dashboard
copyWith(
{ - int? automaticRefreshMs,
- String? description,
- List<SharePermission>? editPermissions,
- String? id,
- bool? isFavourite,
- bool? isWritable,
- String? name,
- UserBean? owner,
- int? popularity,
- int? rank,
- String? self,
- List<SharePermission>? sharePermissions,
- bool? systemDashboard,
- String? view,
})
Implementation
Dashboard copyWith(
{int? automaticRefreshMs,
String? description,
List<SharePermission>? editPermissions,
String? id,
bool? isFavourite,
bool? isWritable,
String? name,
UserBean? owner,
int? popularity,
int? rank,
String? self,
List<SharePermission>? sharePermissions,
bool? systemDashboard,
String? view}) {
return Dashboard(
automaticRefreshMs: automaticRefreshMs ?? this.automaticRefreshMs,
description: description ?? this.description,
editPermissions: editPermissions ?? this.editPermissions,
id: id ?? this.id,
isFavourite: isFavourite ?? this.isFavourite,
isWritable: isWritable ?? this.isWritable,
name: name ?? this.name,
owner: owner ?? this.owner,
popularity: popularity ?? this.popularity,
rank: rank ?? this.rank,
self: self ?? this.self,
sharePermissions: sharePermissions ?? this.sharePermissions,
systemDashboard: systemDashboard ?? this.systemDashboard,
view: view ?? this.view,
);
}