LinkPreviewData constructor
const
LinkPreviewData({
- required String link,
- String? description,
- ImagePreviewData? image,
- String? title,
Creates a LinkPreviewData instance.
Implementation
const factory LinkPreviewData({
/// The original URL link.
required String link,
/// A description extracted from the link source.
String? description,
/// The preview data of an image extracted from the link
ImagePreviewData? image,
/// The title extracted from the link source.
String? title,
}) = _LinkPreviewData;