DMEventData class
- Annotations
-
- @freezed
Constructors
-
DMEventData({required String id, required DMEventType eventType, String? text, String? senderId, @JsonKey(name: 'dm_conversation_id') String? conversationId, List<
DMReferencedTweet> ? referencedTweets, DMAttachments? attachments, DateTime? createdAt}) -
constfactory
-
DMEventData.fromJson(Map<
String, Object?> json) -
factory
Properties
- attachments → DMAttachments?
-
The attached urls and media information for expansion.
no setterinherited
- conversationId → String?
-
The id of the Direct Message to which the event belongs.
no setterinherited
-
copyWith
→ $DMEventDataCopyWith<
DMEventData> -
no setterinherited
- createdAt → DateTime?
-
The timestamp of the Direct Message event creation.
no setterinherited
- eventType → DMEventType
-
The type of event.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The id of the Direct Message event.
no setterinherited
-
referencedTweets
→ List<
DMReferencedTweet> ? -
Expansion of a "shared" Tweet in the Direct Message.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- senderId → String?
-
The id of the user who sent the Direct Message.
no setterinherited
- text → String?
-
The text included in the Direct Message.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited