GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.fromJson constructor

GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.fromJson(
  1. Map json_
)

Implementation

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