TrendsLink class

Annotations
  • @freezed

Constructors

const
factory
TrendsLink.fromJson(Map<String, Object?> json)
factory

Properties

authorName String
The author of the original resource.
no setterinherited
authorUrl String
A link to the author of the original resource.
no setterinherited
blurHash String?
A hash computed by the BlurHash algorithm, for generating colorful preview thumbnails when media has not been downloaded yet.
no setterinherited
copyWith → $TrendsLinkCopyWith<TrendsLink>
no setterinherited
description String
Description of preview.
no setterinherited
embedUrl String
Used for photo embeds, instead of custom html.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height int
Height of preview, in pixels.
no setterinherited
html String
HTML to be used for generating the preview card.
no setterinherited
imageUrl String?
Preview thumbnail.
no setterinherited
providerName String
The provider of the original resource.
no setterinherited
providerUrl String
A link to the provider of the original resource.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Title of linked resource.
no setterinherited
type PreviewCardType
The type of the preview card.
no setterinherited
url String
Location of linked resource.
no setterinherited
usageHistory List<UsageStatistics>
Usage statistics for given days (typically the past week).
no setterinherited
width int
Width of preview, in pixels.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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