LinkPreview constructor

const LinkPreview({
  1. required String url,
  2. required String title,
  3. required String description,
  4. required String image,
})

Implementation

const factory LinkPreview({
  /// The preview url if the link.
  required String url,

  /// The preview title of the link.
  required String title,

  /// The preview description of the link.
  required String description,

  /// The preview image of the link.
  required String image,
}) = _LinkPreview;