ot::BitSet::Update() method
Updates the set by either adding or removing the given bit index. The caller MUST ensure that @p aIndex is smaller than `kNumBits`. Otherwise, the behavior of this method is undefined.
Arguments
aToAdd
Boolean indicating whether to add (when set to TRUE) or to remove (when set to FALSE).