ActivityTimestamps class
Activity Timestamps structure
https://discord.com/developers/docs/topics/gateway#activity-object-activity-timestamps
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- ActivityTimestamps({int? start, int? end})
- Constructor
-
ActivityTimestamps.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- end → int?
-
unix time (in milliseconds) of when the activity ends
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int?
-
unix time (in milliseconds) of when the activity started
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