LinkPreviewParser class

Parse the url link to get the title, description, image

Constructors

LinkPreviewParser({required String url, LinkPreviewDataCacheInterface? cache})

Properties

cache LinkPreviewDataCacheInterface?
final
hashCode int
The hash code for this object.
no setterinherited
metadata LinkPreviewData?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

getContent(LinkPreviewRegex regex) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<void>
must call this method before using the other methods
toString() String
A string representation of this object.
inherited

Operators

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