claude refactor
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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<String, Object?> json) => _$ChatStateFromJson(json);
|
||||
}
|
||||
Reference in New Issue
Block a user