copyWith method

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

Implementation

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