operator % method

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

Modulo (remainder) operator.

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

Implementation

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