isBackgroundServiceRunning property
Implementation
static Future<bool> get isBackgroundServiceRunning async {
try {
final isRunning = await Untitled.Untitled_Constants.methodChannel.invokeMethod(UntitledStrings.isBackgroundServiceRunningMethodName);
if (isRunning != null)
return isRunning;
else
throw Exception("isBackgroundServiceRunning platform method returned null");
} on Exception catch (e) {
throw Exception("Exception in isBackgroundServiceRunning : $e");
}
}