subScalar method

Vector2 subScalar(
  1. num s
)

Implementation

Vector2 subScalar(num s) {
  x -= s;
  y -= s;

  return this;
}