isRefusal property

bool get isRefusal

True for the strict-resolve refusals — the target WAS seen but acting on it would be a guess. Never scrolled past, never retried.

Implementation

bool get isRefusal =>
    this == FindFailureReason.ambiguousTarget ||
    this == FindFailureReason.targetMismatch;