IALocation.fromCoordinate constructor

IALocation.fromCoordinate(
  1. IACoordinate coordinate, {
  2. double accuracy = 0,
  3. double heading = 0,
  4. double altitude = 0,
  5. int floor = 0,
  6. double floorCertainty = 0,
  7. double velocity = 0,
  8. required DateTime timestamp,
})

Implementation

IALocation.fromCoordinate(
  IACoordinate coordinate, {
  this.accuracy = 0,
  this.heading = 0,
  this.altitude = 0,
  this.floor = 0,
  this.floorCertainty = 0,
  this.velocity = 0,
  required this.timestamp,
})  : pixel = null,
      floorplan = null,
      super(coordinate.latitude, coordinate.longitude);