operator / method Null safety

Offset operator /(
  1. double operand
)

Division operator.

Returns an offset whose coordinates are the coordinates of the left-hand-side operand (an Offset) divided by the scalar right-hand-side operand (a double).

See also scale.

Implementation

Offset operator /(double operand) => Offset(dx / operand, dy / operand);