Geofence constructor

const Geofence({
  1. required String identifier,
  2. required double radius,
  3. required double latitude,
  4. required double longitude,
  5. bool notifyOnEntry = true,
  6. bool notifyOnExit = true,
  7. bool notifyOnDwell = false,
  8. int? loiteringDelay,
  9. JsonMap? extras,
})

Implementation

const Geofence({
  required this.identifier,
  required this.radius,
  required this.latitude,
  required this.longitude,
  this.notifyOnEntry = true,
  this.notifyOnExit = true,
  this.notifyOnDwell = false,
  this.loiteringDelay,
  this.extras,
});