isValid property

bool get isValid

Whether this shape has not been destroyed.

Implementation

bool get isValid => rawBox2D.shapeIsValid(index1, worldAndGeneration);