Adds the given action to the set of semantic actions.
If the user chooses to perform an action, SemanticsActionHandler.performAction will be called with the chosen action.
Source
void addAction(SemanticsAction action) {
final int index = action.index;
if ((_actions & index) == 0) {
_actions |= index;
_markDirty();
}
}