length property

double get length

Implementation

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