appPrefix static method
Implementation
static Future<String> appPrefix() async {
if (_appPrefix == null) {
String raw = await rootBundle.loadString("pam-config.json");
Map<String, dynamic> cfg = json.decode(raw);
_appPrefix = cfg["app-prefix"];
}
return _appPrefix!;
}