copyWith method

GiftUpgradePrice copyWith({
  1. int? date,
  2. int? starCount,
})

Implementation

GiftUpgradePrice copyWith({
  int? date,
  int? starCount,
}) =>
    GiftUpgradePrice(
      date: date ?? this.date,
      starCount: starCount ?? this.starCount,
    );