updateRemainingDistance method
Update the remaining distance of GeofenceRadius.
Implementation
void updateRemainingDistance(double distance) {
if (distance < 0.0) _remainingDistance = 0.0;
_remainingDistance = distance;
}
Update the remaining distance of GeofenceRadius.
void updateRemainingDistance(double distance) {
if (distance < 0.0) _remainingDistance = 0.0;
_remainingDistance = distance;
}