isRunning property

Future<bool?> isRunning

check the service running or not

Implementation

static Future<bool?> get isRunning async {
  return await _methodChannel.invokeMethod('plugin.isServiceRunning');
}