copyWith method

WebApiModulesInventoryRepairCreateRepairRequest copyWith({
  1. String? contractId,
  2. String? orderId,
  3. String? orderItemId,
  4. String? assetId,
  5. String? consignorId,
  6. String? consignorAgreementId,
  7. int? quantity,
  8. String? officeLocationId,
  9. String? warehouseId,
})

Implementation

WebApiModulesInventoryRepairCreateRepairRequest copyWith({
  String? contractId,
  String? orderId,
  String? orderItemId,
  String? assetId,
  String? consignorId,
  String? consignorAgreementId,
  int? quantity,
  String? officeLocationId,
  String? warehouseId,
}) {
  return WebApiModulesInventoryRepairCreateRepairRequest(
    contractId: contractId ?? this.contractId,
    orderId: orderId ?? this.orderId,
    orderItemId: orderItemId ?? this.orderItemId,
    assetId: assetId ?? this.assetId,
    consignorId: consignorId ?? this.consignorId,
    consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
    quantity: quantity ?? this.quantity,
    officeLocationId: officeLocationId ?? this.officeLocationId,
    warehouseId: warehouseId ?? this.warehouseId,
  );
}