mapToShakeScreen method
Converts string to ShakeScreen.
Implementation
ShakeScreen mapToShakeScreen(String shakeScreenStr) {
if (shakeScreenStr == "newTicket") return ShakeScreen.newTicket;
if (shakeScreenStr == "home") return ShakeScreen.home;
return ShakeScreen.newTicket;
}