fetchApp method

Future<ShopifyApp?> fetchApp()

Implementation

Future<ShopifyApp?> fetchApp() async {
  try {
    Response response = await this.client.get("/app");
    return ShopifyApp.fromJson(response.data);
  } on Exception catch (e) {
    logResponse(e.toString());
  }
  return null;
}