Geometry.fromJson constructor

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

Implementation

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