peakHeight property

double? get peakHeight

Peak height above initial position.

Implementation

double? get peakHeight {
  final t = peakTime;
  if (t == null) return null;
  return position(t) - position0;
}