GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.fromJson constructor

GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.fromJson(
  1. Map json_
)

Implementation

GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.fromJson(
    core.Map json_)
    : this(
        highlightedTextRanges: json_.containsKey('highlightedTextRanges')
            ? (json_['highlightedTextRanges'] as core.List)
                .map((value) =>
                    GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );