toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

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(),
  };
}