chore(wip): upgrade dependencies, begin refactor
This commit is contained in:
29
frontend/lib/data/models/landmark_model.g.dart
Normal file
29
frontend/lib/data/models/landmark_model.g.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
// 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,
|
||||
};
|
||||
Reference in New Issue
Block a user