EmbedImage class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
height of image
final
proxyUrl String?
a proxied url of the image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
source url of image (only supports http(s) and attachments)
final
width int?
width of image
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