copyWith method

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

Implementation

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