copyWith method

IssueTypeIssueCreateMetadata copyWith({
  1. int? avatarId,
  2. String? description,
  3. String? entityId,
  4. String? expand,
  5. Map<String, dynamic>? fields,
  6. int? hierarchyLevel,
  7. String? iconUrl,
  8. String? id,
  9. String? name,
  10. Scope? scope,
  11. String? self,
  12. bool? subtask,
})

Implementation

IssueTypeIssueCreateMetadata copyWith(
    {int? avatarId,
    String? description,
    String? entityId,
    String? expand,
    Map<String, dynamic>? fields,
    int? hierarchyLevel,
    String? iconUrl,
    String? id,
    String? name,
    Scope? scope,
    String? self,
    bool? subtask}) {
  return IssueTypeIssueCreateMetadata(
    avatarId: avatarId ?? this.avatarId,
    description: description ?? this.description,
    entityId: entityId ?? this.entityId,
    expand: expand ?? this.expand,
    fields: fields ?? this.fields,
    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,
  );
}