isBackgroundServiceRunning method

  1. @override
Future<bool> isBackgroundServiceRunning(
  1. ServiceType type, {
  2. String? callCid,
})
override

Implementation

@override
Future<bool> isBackgroundServiceRunning(
  ServiceType type, {
  String? callCid,
}) async {
  return await methodChannel.invokeMethod(
    'isBackgroundServiceRunning',
    {
      'type': type.name,
      if (callCid != null) 'callCid': callCid,
    },
  );
}