// GENERATED CODE - DO NOT MODIFY BY HAND part of 'anime_dto.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** AnimesDto _$AnimesDtoFromJson(Map json) => AnimesDto( data: (json['data'] as List?) ?.map((e) => AnimeDataDto.fromJson(e as Map)) .toList(), ); AnimeDataDto _$AnimeDataDtoFromJson(Map json) => AnimeDataDto( (json['mal_id'] as num?)?.toInt(), json['title'] as String?, json['synopsis'] as String?, json['images'] == null ? null : AnimeImagesDto.fromJson(json['images'] as Map), (json['score'] as num?)?.toDouble(), ); AnimeImagesDto _$AnimeImagesDtoFromJson(Map json) => AnimeImagesDto( jpg: json['jpg'] == null ? null : AnimeImagesJpgDto.fromJson(json['jpg'] as Map), ); AnimeImagesJpgDto _$AnimeImagesJpgDtoFromJson(Map json) => AnimeImagesJpgDto( json['image_url'] as String?, json['small_image_url'] as String?, json['large_image_url'] as String?, );