operator + method

OptionalNum operator +(
  1. OptionalNum that
)

Implementation

OptionalNum operator +(final OptionalNum that) {
  return bothPresent<num, num, num>((a, b) => a + b)(this, that);
}