stop method

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

Implementation

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