copyWith method

GiftPremiumWithStars copyWith({
  1. int? userId,
  2. int? starCount,
  3. int? monthCount,
  4. FormattedText? text,
})

Implementation

GiftPremiumWithStars copyWith({
  int? userId,
  int? starCount,
  int? monthCount,
  FormattedText? text,
}) => GiftPremiumWithStars(
  userId: userId ?? this.userId,
  starCount: starCount ?? this.starCount,
  monthCount: monthCount ?? this.monthCount,
  text: text ?? this.text,
);