This commit is contained in:
Mohamed Nouffer
2022-04-18 15:22:08 +05:30
parent 95667a5a57
commit 9d253fc5e2
2 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class IndexController extends GetxController {
String getSubInitialVal(){
int min = 0;
if(subPerfs.length > 0){
min = subPerfs[0][0]['id'] as int;
min = int.parse(subPerfs[0][0]['id'].toString());
for(var sub in subPerfs[0]){
int x = int.parse(sub['id'].toString()); // as int;
if(x < min){