Distance constructor
const
Distance({
- bool roundResult = true,
- DistanceCalculator calculator = const Vincenty(),
Implementation
const Distance(
{final bool roundResult = true,
final DistanceCalculator calculator = const Vincenty()})
: _radius = earthRadius,
_roundResult = roundResult,
_calculator = calculator;