copyWith method
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,
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,
);
}