operator - method

BitList operator -(
  1. BitList other
)

Returns the difference of the receiver and other.

The new BitList has all the bits set that are set in the receiver, but not in other. The receiver and other need to have the same length, otherwise an exception is thrown.

Implementation

BitList operator -(BitList other) => BitList.of(this)..difference(other);