copyWith method
TransferGift
copyWith({
- String? businessConnectionId,
- String? receivedGiftId,
- MessageSender? newOwnerId,
- 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,
);