toJson method
Implementation
Map<String, dynamic> toJson() => {
'fullText': fullText,
'blocks': blocks.map((b) => b.toJson()).toList(),
'overallConfidence': overallConfidence,
'primaryLanguage': primaryLanguage,
'wordCount': wordCount,
};