distanceTo method Null safety

double distanceTo(
  1. Vector3 arg
)

Distance from this to arg

Implementation

double distanceTo(Vector3 arg) => math.sqrt(distanceToSquared(arg));