configureBackgroundService method
Configure background service
Implementation
Future<void> configureBackgroundService(BackgroundConfig config) async {
try {
await methodChannel.invokeMethod<void>(
'configureBackgroundService', config.toJson());
} on PlatformException catch (e) {
throw MCPBackgroundExecutionException(
'Failed to configure background service: ${e.message}', e.details);
}
}