operator + method

SpacingUnit operator +(
  1. SpacingUnit other
)

Adds two spacing units together.

Implementation

SpacingUnit operator +(SpacingUnit other) {
  return _CalculatedSpacing(
    first: this,
    second: other,
    operation: calculationAdd,
  );
}