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,
        references: json_.containsKey('references')
            ? GoogleMapsPlacesV1References.fromJson(
                json_['references'] as core.Map<core.String, core.dynamic>)
            : null,
        topic:
            json_.containsKey('topic') ? json_['topic'] as core.String : null,
      );