getPercent method

double getPercent()

Implementation

double getPercent() => percent ?? .0;