// GENERATED CODE - DO NOT MODIFY BY HAND part of 'characters_dto.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CharactersDto _$CharactersDtoFromJson(Map json) => CharactersDto( data: (json['data'] as List?) ?.map((e) => CharacterDataDto.fromJson(e as Map)) .toList(), ); CharacterDataDto _$CharacterDataDtoFromJson(Map json) => CharacterDataDto( json['id'] as String?, json['attributes'] == null ? null : CharacterAttributesDataDto.fromJson( json['attributes'] as Map), ); CharacterAttributesDataDto _$CharacterAttributesDataDtoFromJson( Map json) => CharacterAttributesDataDto( json['name'] as String?, json['image'] as String?, json['species'] as String?, );