DiscordActivityAssets class
Constructors
- DiscordActivityAssets({String? largeImage, String? largeText, String? smallImage, String? smallText})
-
DiscordActivityAssets.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- largeImage → String?
-
see Activity Asset Image
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?
-
see Activity Asset Image
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- largeImageEntry → const String
- largeTextEntry → const String
- smallImageEntry → const String
- smallTextEntry → const String