copyWith method

WorkflowElementReference copyWith({
  1. String? propertyKey,
  2. String? ruleId,
  3. ProjectAndIssueTypePair? statusMappingReference,
  4. String? statusReference,
  5. String? transitionId,
})

Implementation

WorkflowElementReference copyWith(
    {String? propertyKey,
    String? ruleId,
    ProjectAndIssueTypePair? statusMappingReference,
    String? statusReference,
    String? transitionId}) {
  return WorkflowElementReference(
    propertyKey: propertyKey ?? this.propertyKey,
    ruleId: ruleId ?? this.ruleId,
    statusMappingReference:
        statusMappingReference ?? this.statusMappingReference,
    statusReference: statusReference ?? this.statusReference,
    transitionId: transitionId ?? this.transitionId,
  );
}