GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating.fromJson constructor
GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating.fromJson(
- Map json_
Implementation
GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating.fromJson(core.Map json_)
: this(
bestRating: json_.containsKey('bestRating')
? json_['bestRating'] as core.int
: null,
imageUrl: json_.containsKey('imageUrl')
? json_['imageUrl'] as core.String
: null,
ratingExplanation: json_.containsKey('ratingExplanation')
? json_['ratingExplanation'] as core.String
: null,
ratingValue: json_.containsKey('ratingValue')
? json_['ratingValue'] as core.int
: null,
textualRating: json_.containsKey('textualRating')
? json_['textualRating'] as core.String
: null,
worstRating: json_.containsKey('worstRating')
? json_['worstRating'] as core.int
: null,
);