Trkseg constructor

Trkseg({
  1. List<Wpt>? trkpts,
  2. Map<String, String>? extensions,
})

Construct a new Trkseg object.

Implementation

Trkseg({List<Wpt>? trkpts, Map<String, String>? extensions})
    : trkpts = trkpts ?? [],
      extensions = extensions ?? <String, String>{};