// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'danmaku.dart';

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

_DanmakuMatch _$DanmakuMatchFromJson(Map<String, dynamic> json) =>
    _DanmakuMatch(
      episodeId: _intRequired(json['episodeId']),
      animeId: json['animeId'] == null ? 0 : _intOrZero(json['animeId']),
      animeTitle: json['animeTitle'] as String? ?? '',
      episodeTitle: json['episodeTitle'] as String? ?? '',
    );

Map<String, dynamic> _$DanmakuMatchToJson(_DanmakuMatch instance) =>
    <String, dynamic>{
      'episodeId': instance.episodeId,
      'animeId': instance.animeId,
      'animeTitle': instance.animeTitle,
      'episodeTitle': instance.episodeTitle,
    };

_DanmakuBangumiEpisode _$DanmakuBangumiEpisodeFromJson(
  Map<String, dynamic> json,
) => _DanmakuBangumiEpisode(
  episodeId: _intRequired(json['episodeId']),
  episodeTitle: json['episodeTitle'] as String? ?? '',
  episodeNumber: json['episodeNumber'] == null
      ? ''
      : _stringFromAny(json['episodeNumber']),
);

Map<String, dynamic> _$DanmakuBangumiEpisodeToJson(
  _DanmakuBangumiEpisode instance,
) => <String, dynamic>{
  'episodeId': instance.episodeId,
  'episodeTitle': instance.episodeTitle,
  'episodeNumber': instance.episodeNumber,
};
