GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse.fromJson constructor

GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse.fromJson(
  1. Map _json
)

Implementation

GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse.fromJson(
    core.Map _json)
    : this(
        claimReviewMarkupPages: _json.containsKey('claimReviewMarkupPages')
            ? (_json['claimReviewMarkupPages'] as core.List)
                .map<GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>(
                    (value) =>
                        GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage
                            .fromJson(
                                value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );