Embed class Null safety

A message embed. Can contain null elements.

Implemented types

Properties

author EmbedAuthor?
Embed author
read / write
color DiscordColor?
Color of embed
read / write
description String?
The embed's description.
read / write
fields List<EmbedField>
Map of fields of embed. Map(name, field)
final, read / write, late
Embed's footer
read / write
hashCode int
The hash code for this object. [...]
read-only, override
image EmbedThumbnail?
Embed image
read / write
provider EmbedProvider?
The embed's provider, if any.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnail EmbedThumbnail?
The embed's thumbnail, if any.
read / write
timestamp DateTime?
Timestamp of embed content
read / write
title String?
The embed's title.
read / write
type String?
The embed's type
read / write
url String?
The embed's URL
read / write
video EmbedVideo?
Embed video
read / write

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
override
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override