centralDuration property

double? get centralDuration

Duration of the total or annular phase in seconds; null for a partial eclipse.

Implementation

double? get centralDuration => secondContact == null
    ? null
    : (thirdContact!.jdTT - secondContact!.jdTT) * 86400;