DeletedChat class
Minimal chat representation for deletion.
- Annotations
-
- @freezed
Constructors
- DeletedChat({@JsonKey(name: 'jid') required String jid, @JsonKey(name: 'chat_type') required String chatType, @JsonKey(name: 'gentime') required int gentime, @JsonKey(name: 'is_archive') required bool isArchive})
-
constfactory
-
DeletedChat.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chatType → String
-
Chat type.
no setterinherited
-
copyWith
→ $DeletedChatCopyWith<
DeletedChat> -
no setterinherited
- gentime → int
-
Chat fields (related to concrete participant) version.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isArchive → bool
-
Archive flag. Always true for this structure.
no setterinherited
- jid → String
-
Group/Task/Contact id.
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