import 'package:freezed_annotation/freezed_annotation.dart'; import '../../../../../api/marianumcloud/talk/chat/getChatResponse.dart'; part 'chat_state.freezed.dart'; part 'chat_state.g.dart'; @freezed abstract class ChatState with _$ChatState { const factory ChatState({ @Default('') String currentToken, GetChatResponse? chatResponse, int? referenceMessageId, }) = _ChatState; factory ChatState.fromJson(Map json) => _$ChatStateFromJson(json); }