случайно начал делать не в той ветке)
This commit is contained in:
parent
76ba761f74
commit
4b6d0fc446
32
lib/data/dtos/bosses_dto.g.dart
Normal file
32
lib/data/dtos/bosses_dto.g.dart
Normal file
@ -0,0 +1,32 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'bosses_dto.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
BossesDto _$BossesDtoFromJson(Map<String, dynamic> json) => BossesDto(
|
||||
data: (json['data'] as List<dynamic>?)
|
||||
?.map(
|
||||
(e) => BossAttributesDataDto.fromJson(e as Map<String, dynamic>))
|
||||
.toList(),
|
||||
);
|
||||
|
||||
BossesDataDto _$BossesDataDtoFromJson(Map<String, dynamic> json) =>
|
||||
BossesDataDto(
|
||||
id: json['id'] as String?,
|
||||
type: json['type'] as String?,
|
||||
attributes: json['attributes'] == null
|
||||
? null
|
||||
: BossAttributesDataDto.fromJson(
|
||||
json['attributes'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
BossAttributesDataDto _$BossAttributesDataDtoFromJson(
|
||||
Map<String, dynamic> json) =>
|
||||
BossAttributesDataDto(
|
||||
title: json['title'] as String?,
|
||||
imageUrl: json['imageUrl'] as String?,
|
||||
description: json['description'] as String?,
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user