clearConfig static method

Future<void> clearConfig()

Clear all stored configuration

Implementation

static Future<void> clearConfig() async {
  try {
    await _storage.delete(key: _backendUrlKey);
    await _storage.delete(key: _apiKeyKey);
    await _storage.delete(key: _merchantInfoKey);
    await _storage.delete(key: _configHashKey);
  } catch (e) {
    throw Exception('Failed to clear configuration: $e');
  }
}