ActivitySecrets class
Activity Secrets structure
https://discord.com/developers/docs/topics/gateway#activity-object-activity-secrets
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- ActivitySecrets({String? join, String? spectate, String? match})
- Constructor
-
ActivitySecrets.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- join → String?
-
the secret for joining a party
final
- match → String?
-
the secret for a specific instanced match
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spectate → String?
-
the secret for spectating a game
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