operator * method

NumRange<num>? operator *(
  1. num? value
)

Multiply by value.

valueを乗算します。

Implementation

NumRange? operator *(num? value) {
  if (value == null) {
    return this;
  }
  return NumRange(
    min * value,
    max * value,
  );
}