Called when the object implementing this interface receives a SemanticsAction. For example, if the user of an accessibility tool instructs their device that they wish to tap a button, the RenderObject behind that button would have its performAction method called with the SemanticsAction.tap action.
Source
void performAction(SemanticsAction action);