// 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?, age: json['age'] as String?, courses: (json['courses'] as List?)?.map((e) => e as String).toList(), image: json['image'] as String?, );