factory Landmark.fromJson(Map<String, dynamic> json) { return Landmark( type: (json['Type'] as String?)?.toLandmarkType(), x: json['X'] as double?, y: json['Y'] as double?, ); }