totalLength property

double get totalLength

Total length of the capsule (axis + diameter)

Implementation

double get totalLength => axisLength + 2 * radius;