copyWith method

WorkflowOperations copyWith({
  1. bool? canDelete,
  2. bool? canEdit,
})

Implementation

WorkflowOperations copyWith({bool? canDelete, bool? canEdit}) {
  return WorkflowOperations(
    canDelete: canDelete ?? this.canDelete,
    canEdit: canEdit ?? this.canEdit,
  );
}