toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'text'] = this.text;
json[r'pageCount'] = this.pageCount;
json[r'pages'] = this.pages;
if (this.truncated != null) {
json[r'truncated'] = this.truncated;
} else {
json[r'truncated'] = null;
}
return json;
}