copyWith method

CreateNewStickerSet copyWith({
  1. int? userId,
  2. String? title,
  3. String? name,
  4. StickerType? stickerType,
  5. bool? needsRepainting,
  6. List<NewSticker>? stickers,
  7. String? source,
})

Implementation

CreateNewStickerSet copyWith({
  int? userId,
  String? title,
  String? name,
  StickerType? stickerType,
  bool? needsRepainting,
  List<NewSticker>? stickers,
  String? source,
}) => CreateNewStickerSet(
  userId: userId ?? this.userId,
  title: title ?? this.title,
  name: name ?? this.name,
  stickerType: stickerType ?? this.stickerType,
  needsRepainting: needsRepainting ?? this.needsRepainting,
  stickers: stickers ?? this.stickers,
  source: source ?? this.source,
);