copyWith method

TrendingStickerSets copyWith({
  1. int? totalCount,
  2. List<StickerSetInfo>? sets,
  3. bool? isPremium,
  4. dynamic extra,
  5. int? clientId,
})

Implementation

TrendingStickerSets copyWith({
  int? totalCount,
  List<StickerSetInfo>? sets,
  bool? isPremium,
  dynamic extra,
  int? clientId,
}) =>
    TrendingStickerSets(
      totalCount: totalCount ?? this.totalCount,
      sets: sets ?? this.sets,
      isPremium: isPremium ?? this.isPremium,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );