endAll method

void endAll()

Ends all calls

Implementation

void endAll() async {
  for (Call call in _calls) {
    await FlutterVoipKit
        .callStateChangeHandler!(call..callState = CallState.ended);
  }
  _calls.clear();
  _notifyListeners();
}