operator + method Null safety

num operator +(
  1. num other
)

Implementation

num operator +(num other) {
  value += other;
  return value;
}