22 lines
791 B
Dart
22 lines
791 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'PlaceDTO.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
PlacesDto _$PlacesDtoFromJson(Map<String, dynamic> json) => PlacesDto(
|
|
data: (json['data'] as List<dynamic>?)
|
|
?.map((e) => PlaceDataDto.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
|
|
PlaceDataDto _$PlaceDataDtoFromJson(Map<String, dynamic> json) => PlaceDataDto(
|
|
id: (json['id'] as num?)?.toInt(),
|
|
name: json['name'] as String?,
|
|
yearBuilt: (json['yearBuilt'] as num?)?.toInt(),
|
|
description: json['description'] as String?,
|
|
imageData: json['imageData'] as String?,
|
|
);
|