subValue method

V2 subValue(
  1. num value
)

Returns a new vector with value subtracted from each component.

Implementation

V2 subValue(num value) => _v2(x - value, y - value);