compareTo method
Implementation
bool compareTo(UploadJob other) {
if (storageReference != null && other.storageReference != null)
return storageReference!.fullPath == other.storageReference!.fullPath;
else if (image != null && other.image != null)
return image!.path == other.image!.path;
else
return false;
}