Size operator ~/(double operand)

Integer (truncating) division operator. Returns a size whose dimensions are the dimensions of the left-hand-side operand (a Size) divided by the scalar right-hand-side operand (a double), rounded towards zero.

Source

Size operator ~/(double operand) => new Size((width ~/ operand).toDouble(), (height ~/ operand).toDouble());