copyWith method

MessageGiftedTon copyWith({
  1. int? gifterUserId,
  2. int? receiverUserId,
  3. int? gramAmount,
  4. String? transactionId,
  5. Sticker? sticker,
})

Implementation

MessageGiftedTon copyWith({
  int? gifterUserId,
  int? receiverUserId,
  int? gramAmount,
  String? transactionId,
  Sticker? sticker,
}) => MessageGiftedTon(
  gifterUserId: gifterUserId ?? this.gifterUserId,
  receiverUserId: receiverUserId ?? this.receiverUserId,
  gramAmount: gramAmount ?? this.gramAmount,
  transactionId: transactionId ?? this.transactionId,
  sticker: sticker ?? this.sticker,
);