refactor: update SDK version to 3.10.0 and clean up unused variables

fix: fix some analyze issue
This commit is contained in:
2025-11-18 08:56:45 +03:30
parent c4bc31029f
commit 246b64c562
33 changed files with 454 additions and 444 deletions

View File

@@ -9,20 +9,10 @@ class RoleLogic extends GetxController {
void onInit() {
super.onInit();
List<String> items = tokenService.getUserLocal(Module.chicken)!.roles ?? [];
if (items.isNotEmpty ?? false) {
if (items.isNotEmpty) {
roles.assignAll(items);
}
}
@override
void onReady() {
// TODO: implement onReady
super.onReady();
}
@override
void onClose() {
// TODO: implement onClose
super.onClose();
}
}