copyWith method
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,
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,
);