copyWithWrapped method
Implementation
LiquidityEvent copyWithWrapped(
{Wrapped<String>? amount0,
Wrapped<String>? amount1,
Wrapped<int>? eventIndex,
Wrapped<String>? maker,
Wrapped<String>? pairId,
Wrapped<Reserves?>? reserves,
Wrapped<String>? txnId,
Wrapped<int>? txnIndex}) {
return LiquidityEvent(
amount0: (amount0 != null ? amount0.value : this.amount0),
amount1: (amount1 != null ? amount1.value : this.amount1),
eventIndex: (eventIndex != null ? eventIndex.value : this.eventIndex),
maker: (maker != null ? maker.value : this.maker),
pairId: (pairId != null ? pairId.value : this.pairId),
reserves: (reserves != null ? reserves.value : this.reserves),
txnId: (txnId != null ? txnId.value : this.txnId),
txnIndex: (txnIndex != null ? txnIndex.value : this.txnIndex));
}