earthRadius top-level constant Null safety

double const earthRadius

Implementation

const earthRadius = 6371008.8;