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