Activity class Null safety
Constructors
- Activity(String? _label, GamePresence _type, String? _url, DateTime _createdAt, Timestamp? _timestamps, Snowflake? _applicationId, String? _details, String? _state, int? _flags)
- Activity.from({required dynamic payload})
-
factory
Properties
- applicationId → Snowflake?
-
read-only
- createdAt → DateTime
-
read-only
- details → String?
-
read-only
- flags → int?
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- label → String?
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- state → String?
-
read-only
- timestamps → Timestamp?
-
read-only
- type → GamePresence
-
read-only
- url → String?
-
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