copyWith method

IssueBean copyWith({
  1. PageOfChangelogs? changelog,
  2. IssueUpdateMetadata? editmeta,
  3. String? expand,
  4. Map<String, dynamic>? fields,
  5. IncludedFields? fieldsToInclude,
  6. String? id,
  7. String? key,
  8. Map<String, dynamic>? names,
  9. Operations? operations,
  10. Map<String, dynamic>? properties,
  11. Map<String, dynamic>? renderedFields,
  12. Map<String, dynamic>? schema,
  13. String? self,
  14. List<IssueTransition>? transitions,
  15. Map<String, dynamic>? versionedRepresentations,
})

Implementation

IssueBean copyWith(
    {PageOfChangelogs? changelog,
    IssueUpdateMetadata? editmeta,
    String? expand,
    Map<String, dynamic>? fields,
    IncludedFields? fieldsToInclude,
    String? id,
    String? key,
    Map<String, dynamic>? names,
    Operations? operations,
    Map<String, dynamic>? properties,
    Map<String, dynamic>? renderedFields,
    Map<String, dynamic>? schema,
    String? self,
    List<IssueTransition>? transitions,
    Map<String, dynamic>? versionedRepresentations}) {
  return IssueBean(
    changelog: changelog ?? this.changelog,
    editmeta: editmeta ?? this.editmeta,
    expand: expand ?? this.expand,
    fields: fields ?? this.fields,
    fieldsToInclude: fieldsToInclude ?? this.fieldsToInclude,
    id: id ?? this.id,
    key: key ?? this.key,
    names: names ?? this.names,
    operations: operations ?? this.operations,
    properties: properties ?? this.properties,
    renderedFields: renderedFields ?? this.renderedFields,
    schema: schema ?? this.schema,
    self: self ?? this.self,
    transitions: transitions ?? this.transitions,
    versionedRepresentations:
        versionedRepresentations ?? this.versionedRepresentations,
  );
}