copyWidth method
Creates a copy of this dashboard but with the given fields replaced with the new values.
Implementation
Dashboard copyWidth({
int? id,
String? category,
String? url,
String? name,
int? nuts3Id,
String? nuts3Name,
int? nuts4Id,
String? nuts4Name,
int? ico,
String? abbreviation,
int? parentId,
String? parentName,
int? ruianCode,
}) {
return Dashboard(
id: id ?? this.id,
name: name ?? this.name,
category: category ?? this.category,
url: url ?? this.url,
nuts3Id: nuts3Id ?? this.nuts3Id,
nuts3Name: nuts3Name ?? this.nuts3Name,
nuts4Id: nuts4Id ?? this.nuts4Id,
nuts4Name: nuts4Name ?? this.nuts4Name,
ico: ico ?? this.ico,
abbreviation: abbreviation ?? this.abbreviation,
parentId: parentId ?? this.parentId,
parentName: parentName ?? this.parentName,
ruianCode: ruianCode ?? this.ruianCode,
);
}