percent property

int get percent

Implementation

int get percent => (fraction.clamp(0, 1) * 100).round();