copyWith method

AddGiftCollectionGifts copyWith({
  1. MessageSender? ownerId,
  2. int? collectionId,
  3. List<String>? receivedGiftIds,
})

Implementation

AddGiftCollectionGifts copyWith({
  MessageSender? ownerId,
  int? collectionId,
  List<String>? receivedGiftIds,
}) => AddGiftCollectionGifts(
  ownerId: ownerId ?? this.ownerId,
  collectionId: collectionId ?? this.collectionId,
  receivedGiftIds: receivedGiftIds ?? this.receivedGiftIds,
);