EmbedImage class

An image for an EmbedBuilder.

Constructors

EmbedImage({required String url, String? proxyUrl, int? width, int? height})

Properties

hashCode int
The hash code for this object.
no setterinherited
height int?
The height of the image.
getter/setter pair
proxyUrl String?
A proxy url of the image.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Source url of the image.
getter/setter pair
width int?
The width of the image.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
Converts the EmbedImage to a Map that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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