GoogleFactcheckingFactchecktoolsV1alpha1Claim.fromJson constructor
GoogleFactcheckingFactchecktoolsV1alpha1Claim.fromJson(
- Map json_
Implementation
GoogleFactcheckingFactchecktoolsV1alpha1Claim.fromJson(core.Map json_)
: this(
claimDate: json_.containsKey('claimDate')
? json_['claimDate'] as core.String
: null,
claimReview: json_.containsKey('claimReview')
? (json_['claimReview'] as core.List)
.map((value) =>
GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
claimant: json_.containsKey('claimant')
? json_['claimant'] as core.String
: null,
text: json_.containsKey('text') ? json_['text'] as core.String : null,
);