Activity class

Constructors

Activity({required String name, required UserActivityType type, String? url, int? createdAt, Timestamp? timestamps, String? applicationId, String? details, String? state, ActivityEmoji? emoji, ActivityParty? party, ActivityAssets? assets, ActivitySecrets? secrets, bool? instance, int? flags})

Properties

applicationId String?
final
assets ActivityAssets?
final
createdAt int?
final
details String?
final
emoji ActivityEmoji?
final
flags int?
final
hashCode int
The hash code for this object.
no setterinherited
instance bool?
final
name String
final
party ActivityParty?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secrets ActivitySecrets?
final
state String?
final
timestamps Timestamp?
final
type UserActivityType
final
url String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) Activity