copyWith method

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

Implementation

PoolInfoScreenerSchema copyWith(
    {String? asset0Id,
    String? asset1Id,
    int? createdAtBlockNumber,
    int? createdAtBlockTimestamp,
    String? createdAtTxnId,
    int? feeBps,
    String? id}) {
  return PoolInfoScreenerSchema(
      asset0Id: asset0Id ?? this.asset0Id,
      asset1Id: asset1Id ?? this.asset1Id,
      createdAtBlockNumber: createdAtBlockNumber ?? this.createdAtBlockNumber,
      createdAtBlockTimestamp:
          createdAtBlockTimestamp ?? this.createdAtBlockTimestamp,
      createdAtTxnId: createdAtTxnId ?? this.createdAtTxnId,
      feeBps: feeBps ?? this.feeBps,
      id: id ?? this.id);
}