Activity class
A Rich Presence activity.
Properties
- applicationId → Snowflake?
-
The ID of the application associated with this activity.
final
- assets → ActivityAssets?
-
Assets to use when displaying this activity.
final
-
A list of buttons displayed with the activity.
final
- createdAt → DateTime?
-
The time at which this activity was started.
final
- details → String?
-
Additional details about the current activity state.
final
- emoji → Emoji?
-
The custom emoji for this activity.
final
- flags → ActivityFlags?
-
Flags indicating which fields this activity has.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInstance → bool?
-
Whether this activity is an instanced game session.
final
- name → String
-
The name of this activity.
final
- party → ActivityParty?
-
Information about this activity's party.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secrets → ActivitySecrets?
-
Rich presence secrets associated with this activity.
final
- state → String?
-
The current state of this activity.
final
- timestamps → ActivityTimestamps?
-
Information about this activity's timing.
final
- type → ActivityType
-
The type of this activity.
final
- url → Uri?
-
The URL to this activity.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
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