copyWith method

VersionIssueCounts copyWith({
  1. List<VersionUsageInCustomField>? customFieldUsage,
  2. int? issueCountWithCustomFieldsShowingVersion,
  3. int? issuesAffectedCount,
  4. int? issuesFixedCount,
  5. String? self,
})

Implementation

VersionIssueCounts copyWith(
    {List<VersionUsageInCustomField>? customFieldUsage,
    int? issueCountWithCustomFieldsShowingVersion,
    int? issuesAffectedCount,
    int? issuesFixedCount,
    String? self}) {
  return VersionIssueCounts(
    customFieldUsage: customFieldUsage ?? this.customFieldUsage,
    issueCountWithCustomFieldsShowingVersion:
        issueCountWithCustomFieldsShowingVersion ??
            this.issueCountWithCustomFieldsShowingVersion,
    issuesAffectedCount: issuesAffectedCount ?? this.issuesAffectedCount,
    issuesFixedCount: issuesFixedCount ?? this.issuesFixedCount,
    self: self ?? this.self,
  );
}