operator + method

Margin operator +(
  1. Margin other
)

Adds another margin to this one.

Implementation

Margin operator +(Margin other) {
  return Margin(
    top: top + other.top,
    right: right + other.right,
    bottom: bottom + other.bottom,
    left: left + other.left,
  );
}