isRunningService property

Future<bool> isRunningService

Returns whether the foreground service is running.

Implementation

static Future<bool> get isRunningService async {
  return await _methodChannel.invokeMethod('isRunningService');
}