Rte constructor

Rte({
  1. String? name,
  2. String? cmt,
  3. String? desc,
  4. String? src,
  5. List<Link>? links,
  6. int? number,
  7. String? type,
  8. Map<String, String>? extensions,
  9. List<Wpt>? rtepts,
})

Construct a new Rte object.

Implementation

Rte(
    {this.name,
    this.cmt,
    this.desc,
    this.src,
    List<Link>? links,
    this.number,
    this.type,
    Map<String, String>? extensions,
    List<Wpt>? rtepts})
    : links = links ?? [],
      extensions = extensions ?? <String, String>{},
      rtepts = rtepts ?? [];