endCall static method

Future<void> endCall(
  1. String callId
)

End current call

Implementation

static Future<void> endCall(String callId) async {
  try {
    await FlutterCallkitIncoming.endCall(callId);
    debugPrint('VoIP: Call ended - ID: $callId');
  } catch (e, stackTrace) {
    _printException('End Call', e, stackTrace);
    rethrow;
  }
}