Beginning to use different contexts
This commit is contained in:
@@ -38,6 +38,17 @@ class Landmark {
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
return {
|
||||
'name': name,
|
||||
'location': location,
|
||||
'type': type.name,
|
||||
// 'description': description,
|
||||
// 'duration': duration.inMinutes,
|
||||
// 'visited': visited
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user