copyWithWrapped method

WebApiModulesPluginsShopifyLocation copyWithWrapped({
  1. Wrapped<String?>? locationId,
  2. Wrapped<String?>? locationName,
  3. Wrapped<String?>? storeURL,
  4. Wrapped<String?>? adminAPIAccessToken,
  5. Wrapped<String?>? secretKey,
  6. Wrapped<String?>? shopifyStoreId,
})

Implementation

WebApiModulesPluginsShopifyLocation copyWithWrapped({
  Wrapped<String?>? locationId,
  Wrapped<String?>? locationName,
  Wrapped<String?>? storeURL,
  Wrapped<String?>? adminAPIAccessToken,
  Wrapped<String?>? secretKey,
  Wrapped<String?>? shopifyStoreId,
}) {
  return WebApiModulesPluginsShopifyLocation(
    locationId: (locationId != null ? locationId.value : this.locationId),
    locationName: (locationName != null
        ? locationName.value
        : this.locationName),
    storeURL: (storeURL != null ? storeURL.value : this.storeURL),
    adminAPIAccessToken: (adminAPIAccessToken != null
        ? adminAPIAccessToken.value
        : this.adminAPIAccessToken),
    secretKey: (secretKey != null ? secretKey.value : this.secretKey),
    shopifyStoreId: (shopifyStoreId != null
        ? shopifyStoreId.value
        : this.shopifyStoreId),
  );
}