29 lines
952 B
Dart
29 lines
952 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'chat_info_bean.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
ChatInfoBean _$ChatInfoBeanFromJson(Map<String, dynamic> json) => ChatInfoBean(
|
|
(json['id'] as num?)?.toInt(),
|
|
json['role'] as String?,
|
|
json['content'] as String?,
|
|
json['timestamp'] as String?,
|
|
json['claudeType'] as String?,
|
|
(json['messageType'] as num?)?.toInt(),
|
|
json['userIcon'] as String?,
|
|
);
|
|
|
|
Map<String, dynamic> _$ChatInfoBeanToJson(ChatInfoBean instance) =>
|
|
<String, dynamic>{
|
|
'id': instance.id,
|
|
'role': instance.role,
|
|
'content': instance.content,
|
|
'timestamp': instance.timestamp,
|
|
'claudeType': instance.claudeType,
|
|
'messageType': instance.messageType,
|
|
'userIcon': instance.userIcon,
|
|
};
|