LinkPreview class

The returned object contains metadata information

Constructors

LinkPreview({required String url, String? image, String? title, String? description})
The returned object contains metadata information
const

Properties

description String?
The weblink description. Null if cannot find the image
final
hashCode int
The hash code for this object.
no setterinherited
image String?
The weblink image. Null if cannot find the image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The weblink title. Null if cannot find the image
final
url String
The weblink url, this is your url
final

Methods

copyWith({String? url, String? image, String? title, String? description}) LinkPreview
Clone new object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited