LinkPreview constructor

LinkPreview({
  1. required String url,
  2. required String displayUrl,
  3. required String siteName,
  4. required String title,
  5. FormattedText? description,
  6. required String author,
  7. LinkPreviewType? type,
  8. required bool hasLargeMedia,
  9. required bool showLargeMedia,
  10. required bool showMediaAboveDescription,
  11. required bool skipConfirmation,
  12. required bool showAboveText,
  13. 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,
});