renewCurrentAccessToken method

Future<void> renewCurrentAccessToken(
  1. String accessToken
)

Implementation

Future<void> renewCurrentAccessToken(String accessToken) async {
  final updatedAccessToken = await _renewAccessToken(accessToken);
  await _setShopifyUser(
      updatedAccessToken, _shopifyUser[ShopifyConfig.storeUrl]);
}