estimatedEnclosingScoreAfter property

int get estimatedEnclosingScoreAfter

Estimated Cognitive Complexity score of the enclosing declaration after extracting this slice.

Implementation

int get estimatedEnclosingScoreAfter =>
    (enclosingScore - sliceScoreInPlace).clamp(0, enclosingScore);