fraction property

double get fraction

Implementation

double get fraction => total == 0 ? 0 : completed / total;