copyWith method

IssueTransition copyWith({
  1. String? expand,
  2. Map<String, dynamic>? fields,
  3. bool? hasScreen,
  4. String? id,
  5. bool? isAvailable,
  6. bool? isConditional,
  7. bool? isGlobal,
  8. bool? isInitial,
  9. bool? looped,
  10. String? name,
  11. StatusDetails? to,
})

Implementation

IssueTransition copyWith(
    {String? expand,
    Map<String, dynamic>? fields,
    bool? hasScreen,
    String? id,
    bool? isAvailable,
    bool? isConditional,
    bool? isGlobal,
    bool? isInitial,
    bool? looped,
    String? name,
    StatusDetails? to}) {
  return IssueTransition(
    expand: expand ?? this.expand,
    fields: fields ?? this.fields,
    hasScreen: hasScreen ?? this.hasScreen,
    id: id ?? this.id,
    isAvailable: isAvailable ?? this.isAvailable,
    isConditional: isConditional ?? this.isConditional,
    isGlobal: isGlobal ?? this.isGlobal,
    isInitial: isInitial ?? this.isInitial,
    looped: looped ?? this.looped,
    name: name ?? this.name,
    to: to ?? this.to,
  );
}