Wpt constructor

Wpt({
  1. double? lat = 0.0,
  2. double? lon = 0.0,
  3. double? ele,
  4. DateTime? time,
  5. double? magvar,
  6. double? geoidheight,
  7. String? name,
  8. String? cmt,
  9. String? desc,
  10. String? src,
  11. List<Link>? links,
  12. String? sym,
  13. String? type,
  14. FixType? fix,
  15. int? sat,
  16. double? hdop,
  17. double? vdop,
  18. double? pdop,
  19. double? ageofdgpsdata,
  20. int? dgpsid,
  21. Map<String, String>? extensions,
})

Construct a new Wpt object.

Implementation

Wpt(
    {this.lat = 0.0,
    this.lon = 0.0,
    this.ele,
    this.time,
    this.magvar,
    this.geoidheight,
    this.name,
    this.cmt,
    this.desc,
    this.src,
    List<Link>? links,
    this.sym,
    this.type,
    this.fix,
    this.sat,
    this.hdop,
    this.vdop,
    this.pdop,
    this.ageofdgpsdata,
    this.dgpsid,
    Map<String, String>? extensions})
    : links = links ?? [],
      extensions = extensions ?? <String, String>{};