GeoSerie constructor

GeoSerie({
  1. required String name,
  2. required GeoSerieType type,
  3. int? id,
  4. num? surface,
  5. GeoSerie? boundary,
  6. GeoPoint? centroid,
  7. List<GeoPoint>? geoPoints,
})

Default constructor: requires a name and a type

Implementation

GeoSerie(
    {required this.name,
    required this.type,
    this.id,
    this.surface,
    this.boundary,
    this.centroid,
    List<GeoPoint>? geoPoints})
    : this.geoPoints = geoPoints ?? <GeoPoint>[];