ActivityData class

Constructors

ActivityData.new({required String id, required String name, required int type, required int? flags, required String? state, required String? sessionId, required String? applicationId, required String? details, required Timestamp? timestamps, required Map<String, String>? assets, required String? syncId, required int createdAt, required ActivityPartyData? party, required ActivityEmojiData? emoji, required List<String>? buttons})

Properties

applicationId String?
final
assets Map<String, String>?
final
buttons List<String>?
final
createdAt int
final
details String?
final
emoji ActivityEmojiData?
final
flags int?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
party ActivityPartyData?
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
final
state String?
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
syncId String?
final
timestamps Timestamp?
final
type int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toObject({int indentDepth = 0}) Object
Convert class to Object.
toString() String
A string representation of this object.

Operators

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

Static Methods

fromJson(dynamic data) ActivityData
Parse JSON data into ActivityData.