remove unused code

This commit is contained in:
mohammad
2025-03-06 12:51:30 +03:00
parent 254485235d
commit 54a250ea2f
3 changed files with 7 additions and 243 deletions

View File

@ -32,9 +32,6 @@ class LinkSpaceToModelBloc
List<String> spacesList =
spaceBloc.state.selectedCommunityAndSpaces[communityId] ?? [];
spacesListIds = spacesList;
for (var spaceId in spacesList) {
print('spaceId===$spaceId');
}
}
hasSelectedSpaces =
spaceBloc.state.selectedCommunities.any((communityId) {
@ -43,12 +40,12 @@ class LinkSpaceToModelBloc
return spacesList.isNotEmpty;
});
if (hasSelectedSpaces) {
print("At least one space is selected.");
debugPrint("At least one space is selected.");
} else {
print("No spaces selected.");
debugPrint("No spaces selected.");
}
} catch (e) {
print("Error in _getSpaceIds: $e");
debugPrint("Error in _getSpaceIds: $e");
}
}