copyWith method
Implementation
Priority copyWith(
{String? description,
String? iconUrl,
String? id,
bool? isDefault,
String? name,
String? self,
String? statusColor}) {
return Priority(
description: description ?? this.description,
iconUrl: iconUrl ?? this.iconUrl,
id: id ?? this.id,
isDefault: isDefault ?? this.isDefault,
name: name ?? this.name,
self: self ?? this.self,
statusColor: statusColor ?? this.statusColor,
);
}