length static method

num length(
  1. num x,
  2. num y
)

Implementation

static num length(num x, num y) {
  return sqrt(x * x + y * y);
}