See RaylibVector2ExtDart.Vector2LengthSqr.
double Vector2LengthSqr( Vector2 v, ) => _module.Vector2LengthSqr(v);