stopSelf method

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

Stop the service

Implementation

@override
Future<void> stopSelf() async {
  await _channel.invokeMethod("stopService");
}