removeStreamInterceptor method

void removeStreamInterceptor()

Implementation

void removeStreamInterceptor() {
  // toList method must be invoke, otherwise will throw [ConcurrentModificationException]
  _interceptors
      .where((e) => (e.autoClearStrategy == AutoClearStrategy.stream))
      .toList()
      .forEach((element) {
    _removeInterceptor(element);
  });
}