copyWith method

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

Implementation

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