copyWithWrapped method

PoolStatsResponse$Response copyWithWrapped({
  1. Wrapped<String>? since,
  2. Wrapped<List<PoolStats>>? stats,
  3. Wrapped<int>? uniqueWalletsCount,
  4. Wrapped<String>? until,
})

Implementation

PoolStatsResponse$Response copyWithWrapped(
    {Wrapped<String>? since,
    Wrapped<List<PoolStats>>? stats,
    Wrapped<int>? uniqueWalletsCount,
    Wrapped<String>? until}) {
  return PoolStatsResponse$Response(
      since: (since != null ? since.value : this.since),
      stats: (stats != null ? stats.value : this.stats),
      uniqueWalletsCount: (uniqueWalletsCount != null
          ? uniqueWalletsCount.value
          : this.uniqueWalletsCount),
      until: (until != null ? until.value : this.until));
}