GeoSerie.fromJson constructor

GeoSerie.fromJson(
  1. Map<String, dynamic> json
)

Make a GeoSerie from json data

Implementation

GeoSerie.fromJson(Map<String, dynamic> json)
    : name = "${json["name"]}",
      id = int.parse("${json["id"]}"),
      surface = double.tryParse("${json["surface"]}") {
  type = _typeFromString("${json["type"]}");
}