copyWith method

WebApiModulesSettingsRateWarehouseRateWarehouse copyWith({
  1. String? rateId,
  2. double? hourlyRate,
  3. double? hourlyCost,
  4. double? hourlyMarkupPercent,
  5. double? dailyRate,
  6. double? dailyCost,
  7. double? dailyMarkupPercent,
  8. double? weeklyRate,
  9. double? weeklyCost,
  10. double? weeklyMarkupPercent,
  11. double? monthlyRate,
  12. double? monthlyCost,
  13. double? monthlyMarkupPercent,
  14. double? price,
  15. double? cost,
  16. double? markupPercent,
  17. String? defaultStartTime,
  18. String? defaultStopTime,
  19. String? itemDescription,
  20. String? warehouseId,
  21. String? warehouseCode,
  22. String? warehouse,
  23. int? warehouseOrderBy,
  24. String? auditNote,
  25. String? recordTitle,
  26. dynamic urlIdentifier,
  27. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  28. List<FwStandardDataFwCustomValue>? custom,
  29. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  30. FwStandardBusinessLogicFwBusinessLogic? original,
  31. List<FwStandardDataFwTranslatedValue>? translation,
  32. bool? hasImport,
  33. bool? hasDocuments,
  34. String? createdByUserId,
  35. String? createdByUserName,
  36. String? createdDateTime,
  37. String? modifiedByUserId,
  38. String? modifiedByUserName,
  39. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsRateWarehouseRateWarehouse copyWith({
  String? rateId,
  double? hourlyRate,
  double? hourlyCost,
  double? hourlyMarkupPercent,
  double? dailyRate,
  double? dailyCost,
  double? dailyMarkupPercent,
  double? weeklyRate,
  double? weeklyCost,
  double? weeklyMarkupPercent,
  double? monthlyRate,
  double? monthlyCost,
  double? monthlyMarkupPercent,
  double? price,
  double? cost,
  double? markupPercent,
  String? defaultStartTime,
  String? defaultStopTime,
  String? itemDescription,
  String? warehouseId,
  String? warehouseCode,
  String? warehouse,
  int? warehouseOrderBy,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesSettingsRateWarehouseRateWarehouse(
    rateId: rateId ?? this.rateId,
    hourlyRate: hourlyRate ?? this.hourlyRate,
    hourlyCost: hourlyCost ?? this.hourlyCost,
    hourlyMarkupPercent: hourlyMarkupPercent ?? this.hourlyMarkupPercent,
    dailyRate: dailyRate ?? this.dailyRate,
    dailyCost: dailyCost ?? this.dailyCost,
    dailyMarkupPercent: dailyMarkupPercent ?? this.dailyMarkupPercent,
    weeklyRate: weeklyRate ?? this.weeklyRate,
    weeklyCost: weeklyCost ?? this.weeklyCost,
    weeklyMarkupPercent: weeklyMarkupPercent ?? this.weeklyMarkupPercent,
    monthlyRate: monthlyRate ?? this.monthlyRate,
    monthlyCost: monthlyCost ?? this.monthlyCost,
    monthlyMarkupPercent: monthlyMarkupPercent ?? this.monthlyMarkupPercent,
    price: price ?? this.price,
    cost: cost ?? this.cost,
    markupPercent: markupPercent ?? this.markupPercent,
    defaultStartTime: defaultStartTime ?? this.defaultStartTime,
    defaultStopTime: defaultStopTime ?? this.defaultStopTime,
    itemDescription: itemDescription ?? this.itemDescription,
    warehouseId: warehouseId ?? this.warehouseId,
    warehouseCode: warehouseCode ?? this.warehouseCode,
    warehouse: warehouse ?? this.warehouse,
    warehouseOrderBy: warehouseOrderBy ?? this.warehouseOrderBy,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}