deleteAllStreams method

Future<void> deleteAllStreams()

Implementation

Future<void> deleteAllStreams() async {
  for (final stream in streams) {
    if (stream.isLocal() || groupCallId == null) {
      await stream.dispose();
    }
  }
  streams.clear();
  fireCallEvent(CallEvent.kFeedsChanged);
}