GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse.fromJson constructor

GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse.fromJson(
  1. Map json_
)

Implementation

GoogleFactcheckingFactchecktoolsV1alpha1FactCheckedClaimSearchResponse.fromJson(
    core.Map json_)
    : this(
        claims: json_.containsKey('claims')
            ? (json_['claims'] as core.List)
                .map((value) =>
                    GoogleFactcheckingFactchecktoolsV1alpha1Claim.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );