GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction.fromJson constructor

GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1AutocompletePlacesRequestLocationRestriction.fromJson(
    core.Map json_)
    : this(
        circle: json_.containsKey('circle')
            ? GoogleMapsPlacesV1Circle.fromJson(
                json_['circle'] as core.Map<core.String, core.dynamic>)
            : null,
        rectangle: json_.containsKey('rectangle')
            ? GoogleGeoTypeViewport.fromJson(
                json_['rectangle'] as core.Map<core.String, core.dynamic>)
            : null,
      );