// GENERATED CODE - DO NOT MODIFY BY HAND part of 'spells_dto.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** SpellsDto _$SpellDtoFromJson(Map json) => SpellsDto( data: (json['data'] as List?) ?.map((e) => SpellDataDto.fromJson(e as Map)) .toList(), ); SpellDataDto _$SpellDataDtoFromJson(Map json) => SpellDataDto( id: json['id'] as String?, type: json['type'] as String?, attributes: json['attributes'] == null ? null : SpellAttributesDataDto.fromJson( json['attributes'] as Map), ); SpellAttributesDataDto _$SpellAttributesDataDtoFromJson( Map json) => SpellAttributesDataDto( slug: json['slug'] as String?, category: json['category'] as String?, creator: json['creator'] as String?, effect: json['effect'] as String?, hand: json['hand'] as String?, image: json['image'] as String?, incantation: json['incantation'] as String?, light: json['light'] as String?, name: json['name'] as String?, wiki: json['wiki'] as String?, );