copyWith method

GetGiftOnChainPurchaseTransaction copyWith({
  1. String? giftName,
  2. MessageSender? ownerId,
  3. int? gramAmount,
  4. FormattedText? text,
  5. bool? isPrivate,
})

Implementation

GetGiftOnChainPurchaseTransaction copyWith({
  String? giftName,
  MessageSender? ownerId,
  int? gramAmount,
  FormattedText? text,
  bool? isPrivate,
}) =>
    GetGiftOnChainPurchaseTransaction(
      giftName: giftName ?? this.giftName,
      ownerId: ownerId ?? this.ownerId,
      gramAmount: gramAmount ?? this.gramAmount,
      text: text ?? this.text,
      isPrivate: isPrivate ?? this.isPrivate,
    );