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