copyWith method

UpdatePriorityDetails copyWith({
  1. String? description,
  2. UpdatePriorityDetailsIconUrl? iconUrl,
  3. String? name,
  4. String? statusColor,
})

Implementation

UpdatePriorityDetails copyWith(
    {String? description,
    UpdatePriorityDetailsIconUrl? iconUrl,
    String? name,
    String? statusColor}) {
  return UpdatePriorityDetails(
    description: description ?? this.description,
    iconUrl: iconUrl ?? this.iconUrl,
    name: name ?? this.name,
    statusColor: statusColor ?? this.statusColor,
  );
}