cancelAll method

void cancelAll()

Unsubscribe to all StreamSubscriptions and remove them from the list

For example:

subxList.cancelAll();

Implementation

void cancelAll() {
  while (length > 0) {
    cancelAt(0);
  }
}