copyWith method

StarTransactionTypeGiftPurchase copyWith({
  1. MessageSender? ownerId,
  2. Gift? gift,
})

Implementation

StarTransactionTypeGiftPurchase copyWith({
  MessageSender? ownerId,
  Gift? gift,
}) =>
    StarTransactionTypeGiftPurchase(
      ownerId: ownerId ?? this.ownerId,
      gift: gift ?? this.gift,
    );