copyWith method
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);
}