copyWith method

WorkflowTransition copyWith({
  1. int? id,
  2. String? name,
})

Implementation

WorkflowTransition copyWith({int? id, String? name}) {
  return WorkflowTransition(
    id: id ?? this.id,
    name: name ?? this.name,
  );
}