operator / method Null safety

Vector2 operator /(
  1. double scale
)

Scale.

Implementation

Vector2 operator /(double scale) => clone()..scale(1.0 / scale);