fromString static method
Implementation
static NavigationType fromString(String string) {
switch (string) {
case _valueRichLanding:
return NavigationType.richLanding;
case _valueDeepLink:
return NavigationType.deepLink;
case _valueScreenName:
return NavigationType.screenName;
}
throw Exception("unsupported type");
}