Region constructor

Region(
  1. int date,
  2. bool didEnter,
  3. String identifier,
  4. double latitude,
  5. double longitude,
  6. double radius,
  7. bool fromPositionDetection,
  8. String eventName,
  9. int spentTime,
)

The Region() constructor is initializing the properties of the Region class with the provided arguments. It takes in the following arguments in order: date, didEnter, identifier, latitude, longitude, radius, fromPositionDetection, eventName, and spentTime.

Implementation

Region(
  this.date,
  this.didEnter,
  this.identifier,
  this.latitude,
  this.longitude,
  this.radius,
  this.fromPositionDetection,
  this.eventName,
  this.spentTime,
);