EmbedField class
A field in an EmbedBuilder.
Constructors
- EmbedField({required String name, required String value, bool? inline})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inline ↔ bool?
-
Whether or not this field should display inline.
getter/setter pair
- name ↔ String
-
The name of this.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String
-
The value of this.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object - Converts the EmbedField 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