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<GoogleFactcheckingFactchecktoolsV1alpha1Claim>((value) =>
                    GoogleFactcheckingFactchecktoolsV1alpha1Claim.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );