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. StickerFormat? stickerFormat,
  10. StickerType? stickerType,
  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,
  StickerFormat? stickerFormat,
  StickerType? stickerType,
  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,
      stickerFormat: stickerFormat ?? this.stickerFormat,
      stickerType: stickerType ?? this.stickerType,
      isViewed: isViewed ?? this.isViewed,
      size: size ?? this.size,
      covers: covers ?? this.covers,
    );