30 lines
993 B
Dart
30 lines
993 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'landmark_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_LandmarkModel _$LandmarkModelFromJson(Map<String, dynamic> json) =>
|
|
_LandmarkModel(
|
|
uuid: json['uuid'] as String,
|
|
name: json['name'] as String,
|
|
location: (json['location'] as List<dynamic>)
|
|
.map((e) => (e as num).toDouble())
|
|
.toList(),
|
|
type: json['type'] as String,
|
|
isSecondary: json['isSecondary'] as bool,
|
|
description: json['description'] as String,
|
|
);
|
|
|
|
Map<String, dynamic> _$LandmarkModelToJson(_LandmarkModel instance) =>
|
|
<String, dynamic>{
|
|
'uuid': instance.uuid,
|
|
'name': instance.name,
|
|
'location': instance.location,
|
|
'type': instance.type,
|
|
'isSecondary': instance.isSecondary,
|
|
'description': instance.description,
|
|
};
|