hasAction method Null safety

bool hasAction(
  1. SemanticsAction action
)

Whether actions contains the given action.

Implementation

bool hasAction(SemanticsAction action) => (actions & action.index) != 0;