copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetUpgradedGiftVariants copyWith({
int? regularGiftId,
bool? returnUpgradeModels,
bool? returnCraftModels,
}) => GetUpgradedGiftVariants(
regularGiftId: regularGiftId ?? this.regularGiftId,
returnUpgradeModels: returnUpgradeModels ?? this.returnUpgradeModels,
returnCraftModels: returnCraftModels ?? this.returnCraftModels,
);