toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
"type": (type != null ? type!.name : null),
"count": count,
"text": text,
"textWithExtension": textWithExtension,
"rawBytes": rawBytes.toString(),
"parsedDocument":
(parsedDocument != null ? parsedDocument!.toJson() : null),
};