Geo.fromJson constructor

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

Implementation

factory Geo.fromJson(Map<String, dynamic> json) => Geo(
      coordinates: List<double>.from(json["coordinates"].map((x) => 0.0)),
      type: json["type"],
    );