copyWith method

TransferGift copyWith({
  1. String? businessConnectionId,
  2. String? receivedGiftId,
  3. MessageSender? newOwnerId,
  4. int? starCount,
})

Implementation

TransferGift copyWith({
  String? businessConnectionId,
  String? receivedGiftId,
  MessageSender? newOwnerId,
  int? starCount,
}) => TransferGift(
  businessConnectionId: businessConnectionId ?? this.businessConnectionId,
  receivedGiftId: receivedGiftId ?? this.receivedGiftId,
  newOwnerId: newOwnerId ?? this.newOwnerId,
  starCount: starCount ?? this.starCount,
);