copyWith method
CreateNewStickerSet
copyWith({
- int? userId,
- String? title,
- String? name,
- StickerFormat? stickerFormat,
- StickerType? stickerType,
- bool? needsRepainting,
- List<
InputSticker> ? stickers, - String? source,
Implementation
CreateNewStickerSet copyWith({
int? userId,
String? title,
String? name,
StickerFormat? stickerFormat,
StickerType? stickerType,
bool? needsRepainting,
List<InputSticker>? stickers,
String? source,
}) =>
CreateNewStickerSet(
userId: userId ?? this.userId,
title: title ?? this.title,
name: name ?? this.name,
stickerFormat: stickerFormat ?? this.stickerFormat,
stickerType: stickerType ?? this.stickerType,
needsRepainting: needsRepainting ?? this.needsRepainting,
stickers: stickers ?? this.stickers,
source: source ?? this.source,
);