23 lines
836 B
Dart
23 lines
836 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'chat_state.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_ChatState _$ChatStateFromJson(Map<String, dynamic> json) => _ChatState(
|
|
currentToken: json['currentToken'] as String? ?? '',
|
|
chatResponse: json['chatResponse'] == null
|
|
? null
|
|
: GetChatResponse.fromJson(json['chatResponse'] as Map<String, dynamic>),
|
|
referenceMessageId: (json['referenceMessageId'] as num?)?.toInt(),
|
|
);
|
|
|
|
Map<String, dynamic> _$ChatStateToJson(_ChatState instance) =>
|
|
<String, dynamic>{
|
|
'currentToken': instance.currentToken,
|
|
'chatResponse': instance.chatResponse,
|
|
'referenceMessageId': instance.referenceMessageId,
|
|
};
|