destroySession method

  1. @override
Future<void> destroySession()
override

Implementation

@override
Future<void> destroySession() async{
  final initialized = await _isInitialize();
  assert(initialized, 'Bridgefy is not initialized');
  return methodChannel.invokeMethod('destroySession');
}