operator + method

SizeCSS operator +(
  1. SizeCSS other
)

Implementation

SizeCSS operator +(SizeCSS other) => _canMergeOtherUnits(other)
    ? SizeCSS(size + other.size, units, type)
    : SizeCSS.calc('$calc + ${other.calc}');