veilidchat/lib/chat/models/message_state.g.dart

24 lines
875 B
Dart
Raw Normal View History

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-04-17 21:31:26 -04:00
timestamp: Timestamp.fromJson(json['timestamp']),
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-04-17 21:31:26 -04:00
'timestamp': instance.timestamp.toJson(),
'send_state': instance.sendState?.toJson(),
};