GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.fromJson constructor

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.fromJson(
  1. Map _json
)

Implementation

GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.fromJson(core.Map _json)
    : this(
        languageCode: _json.containsKey('languageCode')
            ? _json['languageCode'] as core.String
            : null,
        publisher: _json.containsKey('publisher')
            ? GoogleFactcheckingFactchecktoolsV1alpha1Publisher.fromJson(
                _json['publisher'] as core.Map<core.String, core.dynamic>)
            : null,
        reviewDate: _json.containsKey('reviewDate')
            ? _json['reviewDate'] as core.String
            : null,
        textualRating: _json.containsKey('textualRating')
            ? _json['textualRating'] as core.String
            : null,
        title:
            _json.containsKey('title') ? _json['title'] as core.String : null,
        url: _json.containsKey('url') ? _json['url'] as core.String : null,
      );