Dart code
\n\nclass Solution {\n  int findTheArrayConcVal(List<int> nums) {\n      int sum=0;\n      int i=0;\n      int j=nums.length-1;\n      if(nums.length==1){\n    
\n```\nclass Solution {\n  int findTheArrayConcVal(List<int> nums) {\n      int sum=0;\n      int i=0;\n      int j=nums.length-1;\n      if(nums.length==1){\n          return nums[0];\n      }else{\n          while(i<j){\n     var num1=nums[i].toString();\n     var nums2=nums[j].toString();\n     int result=int.parse(num1+nums2);\n     sum+=result;\n     i++;j--;\n     if(i==j){\n         sum+=nums[i];\n     }\n      }\n      }\n        print(sum);return sum;\n  }\n}\n```
['Dart']