Geometry.fromJson constructor

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

Implementation

Geometry.fromJson(Map<String, dynamic> json) {
  location = json.containsKey('location') && json['location'] != null
      ? Location.fromJson(json['location'])
      : null;
}