ConvoView constructor
- @JsonSerializable(includeIfNull: false)
const
ConvoView(
{ - @Default('chat.bsky.convo.defs#convoView') String $type,
- required String id,
- required String rev,
- @ProfileViewBasicConverter() required List<ProfileViewBasic> members,
- @UConvoViewLastMessageConverter() UConvoViewLastMessage? lastMessage,
- @UConvoViewLastReactionConverter() UConvoViewLastReaction? lastReaction,
- required bool muted,
- @ConvoViewStatusConverter() ConvoViewStatus? status,
- required int unreadCount,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ConvoView({
@Default('chat.bsky.convo.defs#convoView') String $type,
required String id,
required String rev,
@ProfileViewBasicConverter() required List<ProfileViewBasic> members,
@UConvoViewLastMessageConverter() UConvoViewLastMessage? lastMessage,
@UConvoViewLastReactionConverter() UConvoViewLastReaction? lastReaction,
required bool muted,
@ConvoViewStatusConverter() ConvoViewStatus? status,
required int unreadCount,
Map<String, dynamic>? $unknown,
}) = _ConvoView;