containsVector3 method Null safety

bool containsVector3(
  1. Vector3 other
)

Return if this contains other.

Implementation

bool containsVector3(Vector3 other) =>
    other.distanceToSquared(center) < radius * radius;