RichTextUpdateEmbed class final

Keeps one embed, replaces its data with embed and writes attributes.

Inheritance

Constructors

RichTextUpdateEmbed(Map<String, Object?> embed, [Map<String, Object?> attributes = const {}])
Replaces the data of the embed with embed.

Properties

attributes → Map<String, Object?>
The attributes the step writes; unmodifiable.
final
embed → Map<String, Object?>
The new data of the embed; unmodifiable.
final
hashCode → int
The hash code for this object.
no setteroverride
length → int
How many runes the step covers.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override