GoogleMapsPlacesV1References.fromJson constructor

GoogleMapsPlacesV1References.fromJson(
  1. Map json_
)

Implementation

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