operator + method

WeightDimenData operator +(
  1. WeightDimenData other
)

Implementation

WeightDimenData operator +(WeightDimenData other) =>
    WeightDimenData(value + other.value);