EmbedThumbnail class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

EmbedThumbnail({required String url, String? proxyUrl, int? height, int? width})
Constructor
EmbedThumbnail.fromJson(Map<String, dynamic> json)
From json
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
height of thumbnail
final
proxyUrl String?
a proxied url of the thumbnail
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
source url of thumbnail (only supports http(s) and attachments)
final
width int?
width of thumbnail
final

Methods

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

Operators

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