length property

double length

Calculate vector length.

Implementation

double get length => sqrt((x * x) + (y * y));