copyWith method

CreateNewStickerSet copyWith({
  1. int? userId,
  2. String? title,
  3. String? name,
  4. StickerFormat? stickerFormat,
  5. StickerType? stickerType,
  6. bool? needsRepainting,
  7. List<InputSticker>? stickers,
  8. 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,
    );