IActivity class Null safety

Constructors

IActivity()

Properties

activityFlags IActivityFlags
Activity flags ORd together, describes what the payload includes
read-only
applicationId Snowflake?
Application id for the game
read-only
assets IGameAssets?
Images for the presence and their hover texts
read-only
buttons Iterable<String>
Activity buttons. List of button labels
read-only
createdAt DateTime
Timestamp of when the activity was added to the user's session
read-only
customStatusEmoji IActivityEmoji?
The emoji used for a custom status
read-only
details String?
What the player is currently doing
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
instance bool?
Whether or not the activity is an instanced game session
read-only
name String
The activity name.
read-only
party IActivityParty?
Information for the current party of the player
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secrets IGameSecrets?
Secrets for Rich Presence joining and spectating
read-only
state String?
The user's current party status
read-only
timestamps IActivityTimestamps?
Timestamps for start and/or end of the game
read-only
type ActivityType
The activity type.
read-only
url String?
The game URL, if provided.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited