updateSdkServerConfig static method

Future<void> updateSdkServerConfig(
  1. String slotId
)

Immediately synchronizes the local cache configuration file to the cloud. Once synchronized, the validity period of the file will be recalculated.

Implementation

static Future<void> updateSdkServerConfig(String slotId) async {
  return await Ads.instance.channelVast.invokeMethod(
    'SdkFactory-updateSdkServerConfig',
    <String, dynamic>{
      'slotId': slotId,
    },
  );
}