roundToTenth property

double get roundToTenth

Implementation

double get roundToTenth => (this / 10).ceil() * 10;