Location constructor

const Location({
  1. required double longitude,
  2. required double latitude,
  3. double? horizontalAccuracy,
  4. int? livePeriod,
  5. int? heading,
  6. int? proximityAlertRadius,
})

Constructs a Location object

Implementation

const Location({
  required this.longitude,
  required this.latitude,
  this.horizontalAccuracy,
  this.livePeriod,
  this.heading,
  this.proximityAlertRadius,
});