manhattanLength method

num manhattanLength()

Implementation

num manhattanLength() {
  return (Math.abs(x) + Math.abs(y)).toDouble();
}