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