clearRemoteConfig static method

Future<void> clearRemoteConfig()

Clear cached remote config data.

Implementation

static Future<void> clearRemoteConfig() async {
  _remoteConfig = null;
  if (!PreferencesManager.isInitialized()) return;
  await PreferencesManager.clearAll();
  _remoteConfigUpdated = false;
  if (_remoteConfigReady.value) {
    _remoteConfigReady.value = false;
  }
}