toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'text': text.toJson(),
'link_preview': linkPreview?.toJson(),
'link_preview_options': linkPreviewOptions?.toJson(),
'@type': constructor,
};