diff --git a/lib/models/location.dart b/lib/models/location.dart index 822fbc43a..89b268a5f 100644 --- a/lib/models/location.dart +++ b/lib/models/location.dart @@ -3,4 +3,7 @@ class Location { final double longitude; Location(this.latitude, this.longitude); + + @override + String toString() => 'Location(latitude: $latitude, longitude: $longitude)'; } diff --git a/lib/models/photo.dart b/lib/models/photo.dart index 7a3714e69..394438f06 100644 --- a/lib/models/photo.dart +++ b/lib/models/photo.dart @@ -95,7 +95,7 @@ class Photo { @override String toString() { - return 'Photo(generatedId: $generatedId, uploadedFileId: $uploadedFileId, localId: $localId, title: $title, deviceFolder: $deviceFolder, remotePath: $remotePath, createTimestamp: $createTimestamp, updateTimestamp: $updateTimestamp)'; + return 'Photo(generatedId: $generatedId, uploadedFileId: $uploadedFileId, localId: $localId, title: $title, deviceFolder: $deviceFolder, location: $location, remotePath: $remotePath, createTimestamp: $createTimestamp, updateTimestamp: $updateTimestamp)'; } @override