copyWith method

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

Implementation

WebApiModulesInventoryRepairCancelRepairRequest copyWith({
  String? repairId,
  String? contractId,
  String? orderId,
  String? orderItemId,
  String? inventoryId,
  String? assetId,
  String? consignorId,
  String? consignorAgreementId,
  int? quantity,
}) {
  return WebApiModulesInventoryRepairCancelRepairRequest(
    repairId: repairId ?? this.repairId,
    contractId: contractId ?? this.contractId,
    orderId: orderId ?? this.orderId,
    orderItemId: orderItemId ?? this.orderItemId,
    inventoryId: inventoryId ?? this.inventoryId,
    assetId: assetId ?? this.assetId,
    consignorId: consignorId ?? this.consignorId,
    consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
    quantity: quantity ?? this.quantity,
  );
}