copyWith method

WebApiModulesIntegrationsStorefrontGetProductWarehouseDetailsResponse copyWith({
  1. WebApiModulesIntegrationsStorefrontProductAvailability? availability,
  2. double? dailyRate,
  3. double? weeklyRate,
  4. double? monthlyRate,
  5. String? currencySymbol,
  6. String? currencyCode,
})

Implementation

WebApiModulesIntegrationsStorefrontGetProductWarehouseDetailsResponse
copyWith({
  WebApiModulesIntegrationsStorefrontProductAvailability? availability,
  double? dailyRate,
  double? weeklyRate,
  double? monthlyRate,
  String? currencySymbol,
  String? currencyCode,
}) {
  return WebApiModulesIntegrationsStorefrontGetProductWarehouseDetailsResponse(
    availability: availability ?? this.availability,
    dailyRate: dailyRate ?? this.dailyRate,
    weeklyRate: weeklyRate ?? this.weeklyRate,
    monthlyRate: monthlyRate ?? this.monthlyRate,
    currencySymbol: currencySymbol ?? this.currencySymbol,
    currencyCode: currencyCode ?? this.currencyCode,
  );
}