// 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) => CharactersDataDto.fromJson(e as Map)) .toList(), ); CharactersDataDto _$CharactersDataDtoFromJson(Map json) => CharactersDataDto( id: json['id'] as String?, type: json['type'] as String?, attributes: json['attributes'] == null ? null : CharasterAttributesDataDto.fromJson( json['attributes'] as Map), ); CharasterAttributesDataDto _$CharasterAttributesDataDtoFromJson( Map json) => CharasterAttributesDataDto( name: json['name'] as String?, born: json['born'] as String?, died: json['died'] as String?, image: json['image'] as String?, );