length method

double length()

Implementation

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