toJson method

Map<String, dynamic> toJson()

Implementation

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