magnitude property

double get magnitude

Get the magnitude of a Size

Implementation

double get magnitude => sqrt(width * width + height * height);