copyWith method

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

Implementation

WebApiModulesPluginsShopifyLocation copyWith({
  String? locationId,
  String? locationName,
  String? storeURL,
  String? adminAPIAccessToken,
  String? secretKey,
  String? shopifyStoreId,
}) {
  return WebApiModulesPluginsShopifyLocation(
    locationId: locationId ?? this.locationId,
    locationName: locationName ?? this.locationName,
    storeURL: storeURL ?? this.storeURL,
    adminAPIAccessToken: adminAPIAccessToken ?? this.adminAPIAccessToken,
    secretKey: secretKey ?? this.secretKey,
    shopifyStoreId: shopifyStoreId ?? this.shopifyStoreId,
  );
}