operator / method

  1. @override
SharpRadius operator /(
  1. double operand
)
override

Division operator.

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

Implementation

@override
SharpRadius operator /(double operand) => SharpRadius(
      cornerRadius: cornerRadius / operand,
      sharpRatio: sharpRatio / operand,
    );