compareTo method

bool compareTo(
  1. UploadJob other
)

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;
}