IEmbed class Null safety

Implemented types

Constructors

IEmbed()

Properties

author IEmbedAuthor?
Embed author
read-only
color DiscordColor?
Color of embed
read-only
description String?
The embed's description.
read-only
fields List<IEmbedField>
Map of fields of embed. Map(name, field)
read-only
Embed's footer
read-only
hashCode int
The hash code for this object.
read-only, inherited
image IEmbedThumbnail?
Embed image
read-only
provider IEmbedProvider?
The embed's provider, if any.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail IEmbedThumbnail?
The embed's thumbnail, if any.
read-only
timestamp DateTime?
Timestamp of embed content
read-only
title String?
The embed's title.
read-only
type String?
The embed's type
read-only
url String?
The embed's URL
read-only
video IEmbedVideo?
Embed video
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toBuilder() EmbedBuilder
Returns instance of Builder with current data
inherited
toString() String
A string representation of this object.
inherited

Operators

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