distanceTo method Null safety
- Vector2 arg
Distance from this to arg
Implementation
double distanceTo(Vector2 arg) => math.sqrt(distanceToSquared(arg));
Distance from this to arg
double distanceTo(Vector2 arg) => math.sqrt(distanceToSquared(arg));