copyWith method

StickerSetInfo copyWith({
  1. int? id,
  2. String? title,
  3. String? name,
  4. Thumbnail? thumbnail,
  5. List<ClosedVectorPath>? thumbnailOutline,
  6. bool? isInstalled,
  7. bool? isArchived,
  8. bool? isOfficial,
  9. bool? isAnimated,
  10. bool? isMasks,
  11. bool? isViewed,
  12. int? size,
  13. List<Sticker>? covers,
})

Implementation

StickerSetInfo copyWith({
  int? id,
  String? title,
  String? name,
  Thumbnail? thumbnail,
  List<ClosedVectorPath>? thumbnailOutline,
  bool? isInstalled,
  bool? isArchived,
  bool? isOfficial,
  bool? isAnimated,
  bool? isMasks,
  bool? isViewed,
  int? size,
  List<Sticker>? covers,
}) => StickerSetInfo(
  id: id ?? this.id,
  title: title ?? this.title,
  name: name ?? this.name,
  thumbnail: thumbnail ?? this.thumbnail,
  thumbnailOutline: thumbnailOutline ?? this.thumbnailOutline,
  isInstalled: isInstalled ?? this.isInstalled,
  isArchived: isArchived ?? this.isArchived,
  isOfficial: isOfficial ?? this.isOfficial,
  isAnimated: isAnimated ?? this.isAnimated,
  isMasks: isMasks ?? this.isMasks,
  isViewed: isViewed ?? this.isViewed,
  size: size ?? this.size,
  covers: covers ?? this.covers,
);