GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup.fromJson constructor
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup.fromJson(
- Map json_
Implementation
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkup.fromJson(
core.Map json_)
: this(
claimAppearances: json_.containsKey('claimAppearances')
? (json_['claimAppearances'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
claimAuthor: json_.containsKey('claimAuthor')
? GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor.fromJson(
json_['claimAuthor'] as core.Map<core.String, core.dynamic>)
: null,
claimDate: json_.containsKey('claimDate')
? json_['claimDate'] as core.String
: null,
claimFirstAppearance: json_.containsKey('claimFirstAppearance')
? json_['claimFirstAppearance'] as core.String
: null,
claimLocation: json_.containsKey('claimLocation')
? json_['claimLocation'] as core.String
: null,
claimReviewed: json_.containsKey('claimReviewed')
? json_['claimReviewed'] as core.String
: null,
rating: json_.containsKey('rating')
? GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating.fromJson(
json_['rating'] as core.Map<core.String, core.dynamic>)
: null,
url: json_.containsKey('url') ? json_['url'] as core.String : null,
);