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,
})

Implementation

WebApiModulesInventoryRepairCreateRepairRequest copyWith(
    {String? contractId,
    String? orderId,
    String? orderItemId,
    String? assetId,
    String? consignorId,
    String? consignorAgreementId,
    int? quantity}) {
  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);
}