terminateCall method
Implementation
void terminateCall([bool sendEnd = false]) async {
Log().info('terminateCall');
_addStep(step: "terminateCall");
_closePeer();
if (sendEnd == true) {
_sendEndCall();
}
await Future.delayed(const Duration(milliseconds: 100));
_leaveCallChannel();
await Future.delayed(const Duration(milliseconds: 100));
_clearCallData();
}