// FirstScreen
final result = await Get.to(SecondScreen());
//SecondScreen
//First button onTap
Get.back(result: 10)
//second buton onTap
Get.back(result: true);
How can I identify the result is bool or int type when back to the second screen to the first screen.