EmbedAuthor class
Embed Author structure
https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- EmbedAuthor({required String name, String? url, String? iconUrl, String? proxyIconUrl})
- Constructor
-
EmbedAuthor.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconUrl → String?
-
url of author icon (only supports http(s) and attachments)
final
- name → String
-
name of author
final
- proxyIconUrl → String?
-
a proxied url of author icon
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
url of author
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited