isProofNotGoodEnough static method

bool isProofNotGoodEnough(
  1. Proof proof
)

Checks if a proof cannot be reused for prices adding.

Sometimes we get partial data from the Prices server.

Implementation

static bool isProofNotGoodEnough(Proof proof) =>
    proof.currency == null ||
    proof.date == null ||
    proof.type == null ||
    proof.location == null ||
    proof.locationOSMId == null ||
    proof.locationOSMType == null ||
    proof.imageThumbPath == null ||
    proof.filePath == null;