void performAction(int id, SemanticsAction action)

Asks the SemanticsNode with the given id to perform the given action.

If the SemanticsNode has not indicated that it can perform the action, this function does nothing.

Source

void performAction(int id, SemanticsAction action) {
  assert(action != null);
  SemanticsActionHandler handler = _getSemanticsActionHandlerForId(id, action);
  handler?.performAction(action);
}