declarationSkip property

Object? get declarationSkip

Declaration-time skip value for APIs that accept Object? skip.

Test-plan exclusion stays a declaration skip so package:test produces no Allure result. User skips are not returned here — those must run through the normal path and self-skip so Allure fixtures still fire.

Implementation

Object? get declarationSkip =>
    excludedByTestPlan ? 'Excluded by Allure test plan' : null;