updateStatus method
Update the status of GeofenceRadius. Returns true if the status changes, false otherwise.
Implementation
bool updateStatus(GeofenceStatus status, Activity activity, double? speed,
DateTime? timestamp) {
if (status != _status) {
_status = status;
_activity = activity;
_speed = speed;
_timestamp = timestamp;
return true;
}
return false;
}