Geometry.fromJson constructor

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

Implementation

factory Geometry.fromJson(Map<String, dynamic> json) {
  return Geometry(
      type: json['type'],
      coordinates: json['coordinates'] != null
          ? List<dynamic>.from(json['coordinates'])
          : null);
}