operator * method

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

Multiplication operator.

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

Implementation

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