GoogleMapsPlacesV1SearchNearbyResponse.fromJson constructor

GoogleMapsPlacesV1SearchNearbyResponse.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1SearchNearbyResponse.fromJson(core.Map json_)
    : this(
        places: json_.containsKey('places')
            ? (json_['places'] as core.List)
                .map((value) => GoogleMapsPlacesV1Place.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );