containsLast method Null safety

bool containsLast()

Checks if this sequence contains the last indicator in some form - '*'

Implementation

bool containsLast() {
  return _isLastAdded || _isAllAdded;
}