updateRemainingDistance method

void updateRemainingDistance(
  1. double distance
)

Update the remaining distance of GeofenceRadius.

Implementation

void updateRemainingDistance(double distance) {
  if (distance < 0.0) _remainingDistance = 0.0;
  _remainingDistance = distance;
}