onAction method

void onAction(
  1. String screenId,
  2. String event,
  3. String? productId
)

This method will be called when action is executed

Implementation

void onAction(String screenId, String event, String? productId) {}