distanceTo method Null safety

double distanceTo(
  1. Vector4 arg
)

Distance from this to arg

Implementation

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