normalizeInto method Null safety

Vector2 normalizeInto(
  1. Vector2 out
)

Normalize vector into out.

Implementation

Vector2 normalizeInto(Vector2 out) {
  out
    ..setFrom(this)
    ..normalize();
  return out;
}