copyWith method
PlaceGiftAuctionBid
copyWith({
- int? giftId,
- int? starCount,
- int? userId,
- FormattedText? text,
- bool? isPrivate,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
PlaceGiftAuctionBid copyWith({
int? giftId,
int? starCount,
int? userId,
FormattedText? text,
bool? isPrivate,
}) => PlaceGiftAuctionBid(
giftId: giftId ?? this.giftId,
starCount: starCount ?? this.starCount,
userId: userId ?? this.userId,
text: text ?? this.text,
isPrivate: isPrivate ?? this.isPrivate,
);