LinkPreview constructor
LinkPreview({
- required String url,
- required String displayUrl,
- required String siteName,
- required String title,
- FormattedText? description,
- required String author,
- LinkPreviewType? type,
- required bool hasLargeMedia,
- required bool showLargeMedia,
- required bool showMediaAboveDescription,
- required bool skipConfirmation,
- required bool showAboveText,
- required int instantViewVersion,
Implementation
LinkPreview({
required this.url,
required this.displayUrl,
required this.siteName,
required this.title,
this.description,
required this.author,
this.type,
required this.hasLargeMedia,
required this.showLargeMedia,
required this.showMediaAboveDescription,
required this.skipConfirmation,
required this.showAboveText,
required this.instantViewVersion,
});