midpoint property

double get midpoint

Implementation

double get midpoint => (start + end) / 2;