requestPublicConfig static method

Future<void> requestPublicConfig()

Implementation

static Future<void> requestPublicConfig() async {
  String url = "https://" +
      "console" +
      sHost +
      "/api/v2/applications/" +
      sAppId +
      "/public-config";

  final Result result = await AuthClient.request("get", url);
  config = Config.create(result.data);
}