startForegroundService method
Implementation
Future<void> startForegroundService(FlutterAndroidIntent intent, {bool debug = false}) async {
await _shell.exec(['am', 'start-foreground-service', ...intent.asArguments()], debug: debug);
}
Future<void> startForegroundService(FlutterAndroidIntent intent, {bool debug = false}) async {
await _shell.exec(['am', 'start-foreground-service', ...intent.asArguments()], debug: debug);
}