calculator property

DistanceCalculator get calculator

Returns either Haversine oder Vincenty calculator

final Distance distance = const DistanceHaversine();
final Circle circle = new Circle(base, 1000.0,calculator: distance.calculator);

Implementation

DistanceCalculator get calculator => _calculator;