add method

void add(
  1. int a,
  2. int b
)

Implementation

void add(int a, int b) {
  publish("Addition: ${a + b}");
}