readServiceAccount static method
Implementation
static Future<void> readServiceAccount() async {
AppConfig.logger.t("readServiceAccount");
try {
String jsonString = await rootBundle.loadString(DataAssets.serviceAccountJsonPath);
serviceAccount = jsonDecode(jsonString);
AppConfig.logger.t("Service Account Loaded as: $serviceAccount");
} catch (e) {
AppConfig.logger.e("Error reading service account: $e");
return;
}
}