Polygon constructor

Polygon({
  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. bool? extrude,
  10. bool? tessellate,
  11. AltitudeMode? altitudeMode,
  12. Rte? outerBoundaryIs,
  13. List<Rte>? innerBoundaryIs,
})

Construct a new Trk object.

Implementation

Polygon({
  this.name,
  this.cmt,
  this.desc,
  this.src,
  List<Link>? links,
  this.number,
  this.type,
  Map<String, String>? extensions,
  this.extrude,
  this.tessellate,
  this.altitudeMode,
  Rte? outerBoundaryIs,
  List<Rte>? innerBoundaryIs,
})  : links = links ?? [],
      extensions = extensions ?? <String, String>{},
      outerBoundaryIs = outerBoundaryIs ?? Rte(),
      innerBoundaryIs = innerBoundaryIs ?? [];