startForegroundService method
Implementation
Future<void> startForegroundService() async {
if (!WebRTC.platformIsAndroid) return;
await _nativeChannel.invokeMethod("startForeground");
}
Future<void> startForegroundService() async {
if (!WebRTC.platformIsAndroid) return;
await _nativeChannel.invokeMethod("startForeground");
}