UniqueGiftBackdrop constructor
const
UniqueGiftBackdrop({
- @JsonKey(name: 'name') required String name,
- @JsonKey(name: 'colors') required UniqueGiftBackdropColors colors,
- @JsonKey(name: 'rarity_per_mille') required int rarityPerMille,
Creates a new UniqueGiftBackdrop object.
Implementation
const factory UniqueGiftBackdrop({
/// Name of the backdrop
@JsonKey(name: 'name') required String name,
/// Colors of the backdrop
@JsonKey(name: 'colors') required UniqueGiftBackdropColors colors,
/// The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
@JsonKey(name: 'rarity_per_mille') required int rarityPerMille,
}) = _UniqueGiftBackdrop;