copyWithWrapped method

PoolInfoScreenerSchema copyWithWrapped({
  1. Wrapped<String>? asset0Id,
  2. Wrapped<String>? asset1Id,
  3. Wrapped<int?>? createdAtBlockNumber,
  4. Wrapped<int?>? createdAtBlockTimestamp,
  5. Wrapped<String?>? createdAtTxnId,
  6. Wrapped<int?>? feeBps,
  7. Wrapped<String>? id,
})

Implementation

PoolInfoScreenerSchema copyWithWrapped(
    {Wrapped<String>? asset0Id,
    Wrapped<String>? asset1Id,
    Wrapped<int?>? createdAtBlockNumber,
    Wrapped<int?>? createdAtBlockTimestamp,
    Wrapped<String?>? createdAtTxnId,
    Wrapped<int?>? feeBps,
    Wrapped<String>? id}) {
  return PoolInfoScreenerSchema(
      asset0Id: (asset0Id != null ? asset0Id.value : this.asset0Id),
      asset1Id: (asset1Id != null ? asset1Id.value : this.asset1Id),
      createdAtBlockNumber: (createdAtBlockNumber != null
          ? createdAtBlockNumber.value
          : this.createdAtBlockNumber),
      createdAtBlockTimestamp: (createdAtBlockTimestamp != null
          ? createdAtBlockTimestamp.value
          : this.createdAtBlockTimestamp),
      createdAtTxnId: (createdAtTxnId != null
          ? createdAtTxnId.value
          : this.createdAtTxnId),
      feeBps: (feeBps != null ? feeBps.value : this.feeBps),
      id: (id != null ? id.value : this.id));
}