copyWith method

IssueTypeDetails copyWith({
  1. int? avatarId,
  2. String? description,
  3. String? entityId,
  4. int? hierarchyLevel,
  5. String? iconUrl,
  6. String? id,
  7. String? name,
  8. Scope? scope,
  9. String? self,
  10. bool? subtask,
})

Implementation

IssueTypeDetails copyWith(
    {int? avatarId,
    String? description,
    String? entityId,
    int? hierarchyLevel,
    String? iconUrl,
    String? id,
    String? name,
    Scope? scope,
    String? self,
    bool? subtask}) {
  return IssueTypeDetails(
    avatarId: avatarId ?? this.avatarId,
    description: description ?? this.description,
    entityId: entityId ?? this.entityId,
    hierarchyLevel: hierarchyLevel ?? this.hierarchyLevel,
    iconUrl: iconUrl ?? this.iconUrl,
    id: id ?? this.id,
    name: name ?? this.name,
    scope: scope ?? this.scope,
    self: self ?? this.self,
    subtask: subtask ?? this.subtask,
  );
}