// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'marianum_message_state.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_MarianumMessageState _$MarianumMessageStateFromJson(
  Map<String, dynamic> json,
) => _MarianumMessageState(
  messageList: MarianumMessageList.fromJson(
    json['messageList'] as Map<String, dynamic>,
  ),
);

Map<String, dynamic> _$MarianumMessageStateToJson(
  _MarianumMessageState instance,
) => <String, dynamic>{'messageList': instance.messageList};

_MarianumMessageList _$MarianumMessageListFromJson(Map<String, dynamic> json) =>
    _MarianumMessageList(
      base: json['base'] as String,
      messages: (json['messages'] as List<dynamic>)
          .map((e) => MarianumMessage.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$MarianumMessageListToJson(
  _MarianumMessageList instance,
) => <String, dynamic>{'base': instance.base, 'messages': instance.messages};

_MarianumMessage _$MarianumMessageFromJson(Map<String, dynamic> json) =>
    _MarianumMessage(
      id: json['id'] as String? ?? '',
      name: json['name'] as String,
      date: json['date'] as String,
      description: json['description'] as String? ?? '',
      url: json['url'] as String,
    );

Map<String, dynamic> _$MarianumMessageToJson(_MarianumMessage instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'date': instance.date,
      'description': instance.description,
      'url': instance.url,
    };
