ConvoView class
- Annotations
-
- @freezed
Constructors
-
ConvoView({required String id, required String rev, required List<
ProfileViewBasic> members, @unionConvoMessageViewConverter UConvoMessageView? lastMessage, required bool muted, @Default(false) bool opened, required int unreadCount}) -
constfactory
-
ConvoView.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $ConvoViewCopyWith<
ConvoView> -
Create a copy of ConvoView
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- lastMessage → UConvoMessageView?
-
no setterinherited
-
members
→ List<
ProfileViewBasic> -
no setterinherited
- muted → bool
-
no setterinherited
- opened → bool
-
no setterinherited
- rev → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unreadCount → int
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ConvoView to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited