Geometry.fromJson constructor

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

Implementation

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