copyWith method
Version
copyWith({
- bool? archived,
- String? description,
- String? expand,
- String? id,
- VersionIssuesStatus? issuesStatusForFixVersion,
- String? moveUnfixedIssuesTo,
- String? name,
- List<
SimpleLink> ? operations, - bool? overdue,
- String? project,
- int? projectId,
- String? releaseDate,
- bool? released,
- String? self,
- String? startDate,
- String? userReleaseDate,
- String? userStartDate,
Implementation
Version copyWith(
{bool? archived,
String? description,
String? expand,
String? id,
VersionIssuesStatus? issuesStatusForFixVersion,
String? moveUnfixedIssuesTo,
String? name,
List<SimpleLink>? operations,
bool? overdue,
String? project,
int? projectId,
String? releaseDate,
bool? released,
String? self,
String? startDate,
String? userReleaseDate,
String? userStartDate}) {
return Version(
archived: archived ?? this.archived,
description: description ?? this.description,
expand: expand ?? this.expand,
id: id ?? this.id,
issuesStatusForFixVersion:
issuesStatusForFixVersion ?? this.issuesStatusForFixVersion,
moveUnfixedIssuesTo: moveUnfixedIssuesTo ?? this.moveUnfixedIssuesTo,
name: name ?? this.name,
operations: operations ?? this.operations,
overdue: overdue ?? this.overdue,
project: project ?? this.project,
projectId: projectId ?? this.projectId,
releaseDate: releaseDate ?? this.releaseDate,
released: released ?? this.released,
self: self ?? this.self,
startDate: startDate ?? this.startDate,
userReleaseDate: userReleaseDate ?? this.userReleaseDate,
userStartDate: userStartDate ?? this.userStartDate,
);
}