Zone constructor

Zone({
  1. required String id,
  2. required double radius,
  3. required List<LatLng> coordinates,
  4. int? notificationResponsivenessMs,
  5. List<GeofenceEventType> triggers = const [GeofenceEventType.enter, GeofenceEventType.exit, GeofenceEventType.dwell],
  6. Duration? expirationDuration,
  7. Duration? dwellLoiteringDelay,
  8. GeofenceEventType initialTrigger = GeofenceEventType.enter,
})

Implementation

Zone({
  required this.id,
  required this.radius,
  required this.coordinates,
  this.notificationResponsivenessMs,
  this.triggers = const [
    GeofenceEventType.enter,
    GeofenceEventType.exit,
    GeofenceEventType.dwell,
  ],
  this.expirationDuration,
  this.dwellLoiteringDelay,
  this.initialTrigger = GeofenceEventType.enter,
});