chore(wip): upgrade dependencies, begin refactor
This commit is contained in:
28
frontend/lib/domain/entities/landmark.g.dart
Normal file
28
frontend/lib/domain/entities/landmark.g.dart
Normal file
@@ -0,0 +1,28 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'landmark.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
_Landmark _$LandmarkFromJson(Map<String, dynamic> json) => _Landmark(
|
||||
uuid: json['uuid'] as String,
|
||||
name: json['name'] as String,
|
||||
location: (json['location'] as List<dynamic>)
|
||||
.map((e) => (e as num).toDouble())
|
||||
.toList(),
|
||||
type: LandmarkType.fromJson(json['type'] as Map<String, dynamic>),
|
||||
isSecondary: json['isSecondary'] as bool,
|
||||
description: LandmarkDescription.fromJson(
|
||||
json['description'] as Map<String, dynamic>),
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$LandmarkToJson(_Landmark instance) => <String, dynamic>{
|
||||
'uuid': instance.uuid,
|
||||
'name': instance.name,
|
||||
'location': instance.location,
|
||||
'type': instance.type,
|
||||
'isSecondary': instance.isSecondary,
|
||||
'description': instance.description,
|
||||
};
|
||||
Reference in New Issue
Block a user