stopService static method

Future<void> stopService()

orders foreground-service to stop

Implementation

static Future<void> stopService() async {
  await channel.invokeMethod(_STOP_SERVICE);
}