startForegroundService method
Starts the keep-alive foreground service.
Implementation
@override
Future<bool?> startForegroundService(String title, String content) =>
methodChannel.invokeMethod<bool>(
'startForegroundService', {'title': title, 'content': content});