operator [] method

  1. @override
bool operator [](
  1. int index
)
override

Returns the value of the bit with the given index.

Implementation

@override
bool operator [](int index) {
  RangeError.checkValidIndex(index, this);
  return getUnchecked(index);
}