stop static method

void stop()

Stop foreground service. Only works on Android.

Implementation

static void stop() async {
  if (Platform.isAndroid)
    _mChannel.invokeMethod('stopForegroundService');
}