GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage.fromJson constructor
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage.fromJson(
- Map _json
Implementation
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage.fromJson(
core.Map _json)
: this(
claimReviewAuthor: _json.containsKey('claimReviewAuthor')
? GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewAuthor
.fromJson(_json['claimReviewAuthor']
as core.Map<core.String, core.dynamic>)
: null,
claimReviewMarkups: _json.containsKey('claimReviewMarkups')
? (_json['claimReviewMarkups'] as core.List)
.map((value) =>
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
pageUrl: _json.containsKey('pageUrl')
? _json['pageUrl'] as core.String
: null,
publishDate: _json.containsKey('publishDate')
? _json['publishDate'] as core.String
: null,
versionId: _json.containsKey('versionId')
? _json['versionId'] as core.String
: null,
);