LinkPreview constructor

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

Implementation

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

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

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

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