emitPolygonGeofenceEvent method

void emitPolygonGeofenceEvent(
  1. PolygonGeofenceEvent event
)

Emits a mock polygon geofence event.

Implementation

void emitPolygonGeofenceEvent(PolygonGeofenceEvent event) {
  _polygonGeofenceService.processLocationUpdate(
    event.triggerLocation?.latitude ?? 0,
    event.triggerLocation?.longitude ?? 0,
  );
}