copyWith method

DeleteGiftCollection copyWith({
  1. MessageSender? ownerId,
  2. int? collectionId,
})

Implementation

DeleteGiftCollection copyWith({MessageSender? ownerId, int? collectionId}) =>
    DeleteGiftCollection(
      ownerId: ownerId ?? this.ownerId,
      collectionId: collectionId ?? this.collectionId,
    );