copyWith method

FoundChatBoosts copyWith({
  1. int? totalCount,
  2. List<ChatBoost>? boosts,
  3. String? nextOffset,
})

Implementation

FoundChatBoosts copyWith({
  int? totalCount,
  List<ChatBoost>? boosts,
  String? nextOffset,
}) =>
    FoundChatBoosts(
      totalCount: totalCount ?? this.totalCount,
      boosts: boosts ?? this.boosts,
      nextOffset: nextOffset ?? this.nextOffset,
    );