Conversation class
- Annotations
-
- @freezed
Constructors
-
Conversation({required String id, @JsonKey(name: 'unread') required bool isUnread, required List<
Account> accounts, Status? lastStatus}) -
constfactory
-
Conversation.fromJson(Map<
String, Object?> json) -
factory
Properties
-
accounts
→ List<
Account> -
Participants in the conversation.
no setterinherited
-
copyWith
→ $ConversationCopyWith<
Conversation> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the conversation in the database.
no setterinherited
- isUnread → bool
-
Is the conversation currently marked as unread?
no setterinherited
- lastStatus → Status?
-
The last status in the conversation.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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