lengthSquared property

double get lengthSquared

Squared length (avoids sqrt).

Implementation

double get lengthSquared => x * x + y * y + z * z;