GoogleMapsPlacesV1ContentBlock.fromJson constructor

GoogleMapsPlacesV1ContentBlock.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1ContentBlock.fromJson(core.Map json_)
  : this(
      content: json_.containsKey('content')
          ? GoogleTypeLocalizedText.fromJson(
              json_['content'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      referencedPlaces: (json_['referencedPlaces'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );