TencentLocation constructor

const TencentLocation({
  1. double? latitude,
  2. double? longitude,
  3. double? altitude,
  4. double? accuracy,
  5. double? bearing,
  6. double? speed,
  7. double? directionFromSensor,
  8. int? time,
  9. LocationSource source = LocationSource.unknown,
  10. CoordinateType coordinateType = CoordinateType.gcj02,
  11. TencentGeoAddress? geoAddress,
  12. List<TencentPoi> poiList = const [],
  13. String? indoorBuildingId,
  14. String? indoorBuildingFloor,
  15. int? elapsedRealtime,
  16. int? gpsRssi,
  17. double? verticalAccuracy,
  18. String cacheSource = 'none',
  19. Map<String, Object?> extras = const {},
})

Implementation

const TencentLocation({
  this.latitude,
  this.longitude,
  this.altitude,
  this.accuracy,
  this.bearing,
  this.speed,
  this.directionFromSensor,
  this.time,
  this.source = LocationSource.unknown,
  this.coordinateType = CoordinateType.gcj02,
  this.geoAddress,
  this.poiList = const [],
  this.indoorBuildingId,
  this.indoorBuildingFloor,
  this.elapsedRealtime,
  this.gpsRssi,
  this.verticalAccuracy,
  this.cacheSource = 'none',
  this.extras = const {},
});