LinkPreviewExtension class
LinkPreviewExtension is the controller class for enabling and disabling the extension its shows previews for links that have open graph image and favicon declared in meta data to web page and also the link should follow http(s) scheme
- Inheritance
-
- Object
- ExtensionsDataSource
- LinkPreviewExtension
Constructors
- LinkPreviewExtension({LinkPreviewConfiguration? configuration})
Properties
- configuration ↔ LinkPreviewConfiguration?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addExtension(
) → void -
addExtension method to add extension
override
-
enable(
{dynamic onSuccess(bool success)?, dynamic onError(CometChatException exception)?}) → void -
Method to populate data source
inherited
-
getExtensionId(
) → String -
getExtensionId returns the id of the extension
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited