needsRejection property

bool needsRejection
inherited

Implementation

bool get needsRejection =>
    // TODO(JKRhb): Revisit conditions for rejection
    (type == CoapMessageType.non && hasUnknownCriticalOption) ||
    hasFormatError ||
    (this is CoapResponse && hasUnknownCriticalOption);