// GENERATED CODE - DO NOT MODIFY BY HAND part of 'landmark.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _Landmark _$LandmarkFromJson(Map json) => _Landmark( uuid: json['uuid'] as String, name: json['name'] as String, location: (json['location'] as List) .map((e) => (e as num).toDouble()) .toList(), type: LandmarkType.fromJson(json['type'] as Map), isSecondary: json['isSecondary'] as bool, description: LandmarkDescription.fromJson( json['description'] as Map), ); Map _$LandmarkToJson(_Landmark instance) => { 'uuid': instance.uuid, 'name': instance.name, 'location': instance.location, 'type': instance.type, 'isSecondary': instance.isSecondary, 'description': instance.description, };