fromInt static method

ELocalScreenNavigator fromInt(
  1. int screen
)

Implementation

static ELocalScreenNavigator fromInt(int screen) {
  switch (screen) {
    case 4:
      return ELocalScreenNavigator.errorScreen;
    case 5:
      return ELocalScreenNavigator.defaultScreen;
    case 7:
      return ELocalScreenNavigator.successScreen;
    case 70:
      return ELocalScreenNavigator.mobileMoneyProcessingScreen;
    case 9:
      return ELocalScreenNavigator.processingScreen;
    case 12:
      return ELocalScreenNavigator.mobileMoneyScreen;
    case 14:
      return ELocalScreenNavigator.initControllerScreen;
    default:
      return ELocalScreenNavigator
          .defaultScreen; // Default to a safe value if unknown screen
  }
}