|
@@ -275,13 +275,9 @@ class File extends EnteFile {
|
|
}
|
|
}
|
|
|
|
|
|
@override
|
|
@override
|
|
|
|
+ //add nullable return type when migrating to null safety
|
|
String cacheKey() {
|
|
String cacheKey() {
|
|
// todo: Neeraj: 19thJuly'22: evaluate and add fileHash as the key?
|
|
// todo: Neeraj: 19thJuly'22: evaluate and add fileHash as the key?
|
|
return localID ?? uploadedFileID?.toString() ?? generatedID?.toString();
|
|
return localID ?? uploadedFileID?.toString() ?? generatedID?.toString();
|
|
}
|
|
}
|
|
-
|
|
|
|
- @override
|
|
|
|
- String localIdentifier() {
|
|
|
|
- return localID;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|