2024-04-17 21:31:26 -04:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'message_state.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
_$MessageStateImpl _$$MessageStateImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
_$MessageStateImpl(
|
2024-05-25 22:46:43 -04:00
|
|
|
content: messageFromJson(json['content'] as Map<String, dynamic>),
|
2024-05-29 10:47:43 -04:00
|
|
|
sentTimestamp: Timestamp.fromJson(json['sent_timestamp']),
|
|
|
|
reconciledTimestamp: json['reconciled_timestamp'] == null
|
|
|
|
? null
|
|
|
|
: Timestamp.fromJson(json['reconciled_timestamp']),
|
2024-04-17 21:31:26 -04:00
|
|
|
sendState: json['send_state'] == null
|
|
|
|
? null
|
|
|
|
: MessageSendState.fromJson(json['send_state']),
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$MessageStateImplToJson(_$MessageStateImpl instance) =>
|
|
|
|
<String, dynamic>{
|
2024-05-25 22:46:43 -04:00
|
|
|
'content': messageToJson(instance.content),
|
2024-05-29 10:47:43 -04:00
|
|
|
'sent_timestamp': instance.sentTimestamp.toJson(),
|
|
|
|
'reconciled_timestamp': instance.reconciledTimestamp?.toJson(),
|
2024-04-17 21:31:26 -04:00
|
|
|
'send_state': instance.sendState?.toJson(),
|
|
|
|
};
|