DistanceVincenty.withRadius constructor

DistanceVincenty.withRadius(
  1. double radius,
  2. {bool roundResult = true}
)

Implementation

DistanceVincenty.withRadius(final double radius,
    { final bool roundResult: true })
    : super.withRadius(radius, roundResult: roundResult, calculator: const Vincenty()) {

    Validate.isTrue(radius > 0, "Radius must be greater than 0 but was $radius");
}