notifyAppState method

void notifyAppState(
  1. OrderManagementAppState appState
)

Implementation

void notifyAppState(OrderManagementAppState appState) {
  if (!SlangRetailAssistant._validateEnvironment()) {
    return;
  }
  String stringAppState = '';
  String? stringAppStateCondition = '';
  stringAppState = appState.getName();
  stringAppStateCondition = appState.getCondition()?.getName();
  _channel.invokeMapMethod("notifyOrderManagementActionCompleted", {
    "appState": stringAppState,
    "appStateCondition": stringAppStateCondition
  });
}