configureNotifications method

Future<void> configureNotifications(
  1. NotificationConfig config
)

Configure notification settings

Implementation

Future<void> configureNotifications(NotificationConfig config) async {
  try {
    await methodChannel.invokeMethod<void>(
        'configureNotifications', config.toJson());
  } on PlatformException catch (e) {
    throw MCPPlatformException(
        'Failed to configure notifications', e.code, e.details);
  }
}