Update toString methods

This commit is contained in:
Vishnu Mohandas 2020-06-03 23:07:37 +05:30
parent 125cbb0816
commit 9994715cc4
2 changed files with 4 additions and 1 deletions

View file

@ -3,4 +3,7 @@ class Location {
final double longitude;
Location(this.latitude, this.longitude);
@override
String toString() => 'Location(latitude: $latitude, longitude: $longitude)';
}

View file

@ -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