ActivityAssets class
Activity Assets structure
https://discord.com/developers/docs/topics/gateway#activity-object-activity-assets
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- ActivityAssets({String? largeImage, String? largeText, String? smallImage, String? smallText})
- Constructor
-
ActivityAssets.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- largeImage → String?
-
the id for a large asset of the activity, usually a snowflake
final
- largeText → String?
-
text displayed when hovering over the large image of the activity
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smallImage → String?
-
the id for a small asset of the activity, usually a snowflake
final
- smallText → String?
-
text displayed when hovering over the small image of the activity
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