17 lines
505 B
Dart
17 lines
505 B
Dart
part of 'conversation_bloc.dart';
|
|
|
|
@freezed
|
|
class ConversationState with _$ConversationState {
|
|
factory ConversationState({
|
|
// Our own JID
|
|
@Default('') String jid,
|
|
@Default('') String messageText,
|
|
@Default(false) bool showSendButton,
|
|
@Default(null) Message? quotedMessage,
|
|
@Default(<Message>[]) List<Message> messages,
|
|
@Default(null) Conversation? conversation,
|
|
@Default('') String backgroundPath,
|
|
@Default(false) bool emojiPickerVisible,
|
|
}) = _ConversationState;
|
|
}
|