fromJson static method
Implementation
static FactCheck? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return FactCheck(
text: FormattedText.fromJson(json['text'] as Map<String, dynamic>?)!,
countryCode: (json['country_code'] as String?) ?? '',
);
}