sendService method

Future<void> sendService()

Starts intent as service.

This works only on Android platforms.

Implementation

Future<void> sendService() async {
  if (!_platform.isAndroid) {
    return;
  }

  await _channel.invokeMethod<void>(
    'sendService',
    _buildArguments(),
  );
}