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