toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"document": document.toJson(),
"thumbnail": thumbnail?.toJson(),
"disable_content_type_detection": disableContentTypeDetection,
"caption": caption?.toJson(),
};
}