forceRefreshRules method

Future<String?> forceRefreshRules(
  1. String rulesUrl,
  2. String apiKey
)

Fuerza actualización de rules

Implementation

Future<String?> forceRefreshRules(String rulesUrl, String apiKey) async {
  _cachedRules = null;
  await ObslyStorage.instance.storeInternalState(_rulesTimestampKey, null);
  return await _fetchRulesIfNeeded(rulesUrl, apiKey);
}