sizeRatio property

double get sizeRatio

Fraction of the original size that is left (0.4 = the file kept 40%).

Implementation

double get sizeRatio => bytesBefore == 0 ? 1 : bytesAfter / bytesBefore;