deleteWorkflow method
Implementation
Future<void> deleteWorkflow(String id) async {
_workflows.removeWhere((w) => w.id == id);
if (_loadedWorkflowId == id) {
_loadedWorkflowId = null;
}
await _storage.saveWorkflows(_workflows);
notifyListeners();
}