stopGeofenceService static method
dynamic
stopGeofenceService()
stopGeofenceService to stop the geofencing service
if the _positionStream
is not null then
it will cancel the subscription of the stream
Implementation
static stopGeofenceService() {
if (_positionStream != null) {
_positionStream!.cancel();
}
}