onPush method

void onPush(
  1. Map<String?, String>? parameters
)

Implementation

void onPush(Map<String?, String>? parameters) {

  // set variables from return parameters
  parameters?.forEach((key, value) => scope?.setObservable(key, value));

  // fire onReturn event
  if (!isNullOrEmpty(onreturn)) EventHandler(this).execute(_onreturn);
}