loadFromCloud static method
Loads config from Cloud Functions on web. Stores into AppProperties.appProperties so both classes share the same data.
Implementation
static Future<void> loadFromCloud() async {
final data = await callSecureOps({'action': 'getConfig'});
AppProperties.appProperties = data;
isSecureMode = true;
AppConfig.logger.t("Properties loaded from Cloud Functions (${(data as Map).length} keys)");
}