navigationActionToMap function
Implementation
Map<String, dynamic> navigationActionToMap(NavigationAction navigationAction) {
Map<String, dynamic> navigationMap = {
ACTION_TYPE: navigationAction.actionType.asString,
NAVIGATION_TYPE: navigationAction.navigationType.asString,
VALUE: navigationAction.value,
KV_PAIR: navigationAction.kvPair
};
return navigationMap;
}