existingTilesDiscount property
double
get
existingTilesDiscount
Percentage of tiles saved by using redownload prevention (ie. discount)
Only applicable if redownload prevention is enabled, otherwise this value is always 0.
Is equal to 100 - ((((successfulTiles - seaTiles) - existingTiles) / successfulTiles) * 100)
.
Implementation
double get existingTilesDiscount => existingTiles == 0
? 0
: 100 -
((((successfulTiles - seaTiles) - existingTiles) / successfulTiles) *
100);